gda-connection.h | gda-connection.h | |||
---|---|---|---|---|
skipping to change at line 187 | skipping to change at line 187 | |||
* The GDA_CONNECTION_OPTIONS_THREAD_ISOLATED forces using a specific threa d and a "wrapper connection" even if the | * The GDA_CONNECTION_OPTIONS_THREAD_ISOLATED forces using a specific threa d and a "wrapper connection" even if the | |||
* "normal" connection would itself be thread safe; this is useful for exam ple to be sure the asynchronous API can | * "normal" connection would itself be thread safe; this is useful for exam ple to be sure the asynchronous API can | |||
* always be used (see gda_connection_async_statement_execute()). | * always be used (see gda_connection_async_statement_execute()). | |||
* | * | |||
* Having a specific thread and a "wrapper connection" definitely has an im pact on the performances (because it involves | * Having a specific thread and a "wrapper connection" definitely has an im pact on the performances (because it involves | |||
* messages passing between threads for every method call), so using the | * messages passing between threads for every method call), so using the | |||
* GDA_CONNECTION_OPTIONS_THREAD_SAFE or GDA_CONNECTION_OPTIONS_THREAD_ISOL ATED flags should be carefully considered. | * GDA_CONNECTION_OPTIONS_THREAD_SAFE or GDA_CONNECTION_OPTIONS_THREAD_ISOL ATED flags should be carefully considered. | |||
* | * | |||
* Note about the @GDA_CONNECTION_OPTIONS_AUTO_META_DATA flag: | * Note about the @GDA_CONNECTION_OPTIONS_AUTO_META_DATA flag: | |||
* <itemizedlist> | * <itemizedlist> | |||
* <listitem><para>Every time a DDL statement is successfully executed, th e associated mate data, if | * <listitem><para>Every time a DDL statement is successfully executed, th e associated meta data, if | |||
defined, will be updated, which has a impact on performances< /para></listitem> | defined, will be updated, which has a impact on performances< /para></listitem> | |||
* <listitem><para>If a transaction is started and some DDL statements are executed and the transaction | * <listitem><para>If a transaction is started and some DDL statements are executed and the transaction | |||
* is not rolled back or committed, then the meta data may end u p being wrong</para></listitem> | * is not rolled back or committed, then the meta data may end u p being wrong</para></listitem> | |||
* </itemizedlist> | * </itemizedlist> | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
GDA_CONNECTION_OPTIONS_NONE = 0, | GDA_CONNECTION_OPTIONS_NONE = 0, | |||
GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0, | GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0, | |||
GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE = 1 << 1, | GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE = 1 << 1, | |||
GDA_CONNECTION_OPTIONS_THREAD_SAFE = 1 << 2, | GDA_CONNECTION_OPTIONS_THREAD_SAFE = 1 << 2, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
gda-statement-extra.h | gda-statement-extra.h | |||
---|---|---|---|---|
skipping to change at line 89 | skipping to change at line 89 | |||
* @Returns: a new string, or %NULL if an error occurred | * @Returns: a new string, or %NULL if an error occurred | |||
* | * | |||
* Rendering function type to render a #GValue | * Rendering function type to render a #GValue | |||
*/ | */ | |||
typedef gchar *(*GdaSqlRenderingValue) (const GValue *value, GdaSqlRend eringContext *context, GError **error); | typedef gchar *(*GdaSqlRenderingValue) (const GValue *value, GdaSqlRend eringContext *context, GError **error); | |||
/** | /** | |||
* GdaSqlRenderingContext: | * GdaSqlRenderingContext: | |||
* @flags: Global rendering options | * @flags: Global rendering options | |||
* @params: Parameters to be used while doing the rendering | * @params: Parameters to be used while doing the rendering | |||
* @params_used: When rendering is complete, contains the ordered list of p arameters which have been used while doing the rendering | * @params_used: (element-type GdaHolder): When rendering is complete, cont ains the ordered list of parameters which have been used while doing the re ndering | |||
* @provider: Pointer to the server provider to be used | * @provider: Pointer to the server provider to be used | |||
* @cnc: Pointer to the connection to be used | * @cnc: Pointer to the connection to be used | |||
* @render_value: function to render a #GValue | * @render_value: function to render a #GValue | |||
* @render_param_spec: function to render a #GdaSqlParamSpec | * @render_param_spec: function to render a #GdaSqlParamSpec | |||
* @render_expr: function to render a #GdaSqlExpr | * @render_expr: function to render a #GdaSqlExpr | |||
* @render_unknown: function to render a #GdaSqlStatementUnknown | * @render_unknown: function to render a #GdaSqlStatementUnknown | |||
* @render_begin: function to render a BEGIN #GdaSqlStatementTransaction | * @render_begin: function to render a BEGIN #GdaSqlStatementTransaction | |||
* @render_rollback: function to render a ROLLBACK #GdaSqlStatementTransact ion | * @render_rollback: function to render a ROLLBACK #GdaSqlStatementTransact ion | |||
* @render_commit: function to render a COMMIT #GdaSqlStatementTransaction | * @render_commit: function to render a COMMIT #GdaSqlStatementTransaction | |||
* @render_savepoint: function to render a ADD SAVEPOINT #GdaSqlStatementTr ansaction | * @render_savepoint: function to render a ADD SAVEPOINT #GdaSqlStatementTr ansaction | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||