[libgda] Documentation corrections



commit ae485a914085937ca772b99c1de041c9f4d1b37e
Author: Vivien Malerba <malerba gnome-db org>
Date:   Fri Jul 24 21:04:58 2009 +0200

    Documentation corrections

 doc/C/tmpl/gda-meta-store.sgml |    2 +-
 libgda/gda-connection.c        |    5 +++--
 libgda/gda-meta-store.c        |    2 +-
 libgda/gda-meta-store.h        |    2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/doc/C/tmpl/gda-meta-store.sgml b/doc/C/tmpl/gda-meta-store.sgml
index 3302653..0c102f0 100644
--- a/doc/C/tmpl/gda-meta-store.sgml
+++ b/doc/C/tmpl/gda-meta-store.sgml
@@ -160,7 +160,7 @@ Dictionary object
 
 </para>
 
- Param1: 
+ id: 
 @cnc: 
 @Returns: 
 
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index 7481878..fc1f9cd 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -3781,7 +3781,7 @@ suggest_update_cb_downstream (GdaMetaStore *store, GdaMetaContext *suggest, Down
  *
  * When @context is not %NULL, and contains specified SQL identifiers (for example the "table_name" of the "_tables"
  * table), then each SQL identifier has to match the convention the #GdaMetaStore has adopted regarding
- * case sensitivity, using gda_meta_store_sql_identifier_quote().
+ * case sensitivity, using gda_connection_quote_sql_identifier() or gda_meta_store_sql_identifier_quote().
  *
  * see the <link linkend="information_schema:sql_identifiers">
  * meta data section about SQL identifiers</link> for more information, and the documentation about the
@@ -4168,7 +4168,8 @@ prepare_meta_statements_hash (void)
  * see <link linkend="GdaConnectionMetaTypeHead">this description</link>.
  *
  * Also, when using filters involving data which are SQL identifiers, make sure each SQL identifier
- * is represented using the #GdaMetaStore convention, using gda_meta_store_sql_identifier_quote().
+ * is represented using the #GdaMetaStore convention, using gda_meta_store_sql_identifier_quote() or
+ * gda_meta_store_sql_identifier_quote().
  *
  * See the <link linkend="information_schema:sql_identifiers">
  * meta data section about SQL identifiers</link> for more information, and the documentation about the
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 10b04a2..6e9c9a1 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -2088,7 +2088,7 @@ gda_meta_store_get_internal_connection (GdaMetaStore *store) {
  * Since: 4.0.3
  */
 gchar *
-gda_meta_store_sql_identifier_quote (const char *id, GdaConnection *cnc)
+gda_meta_store_sql_identifier_quote (const gchar *id, GdaConnection *cnc)
 {
 	GdaConnectionOptions cncoptions;
 	g_return_val_if_fail (!cnc || GDA_IS_CONNECTION (cnc), NULL);
diff --git a/libgda/gda-meta-store.h b/libgda/gda-meta-store.h
index 4cda20e..68b5a18 100644
--- a/libgda/gda-meta-store.h
+++ b/libgda/gda-meta-store.h
@@ -108,7 +108,7 @@ GdaMetaStore     *gda_meta_store_new                      (const gchar *cnc_stri
 gint              gda_meta_store_get_version              (GdaMetaStore *store);
 
 GdaConnection    *gda_meta_store_get_internal_connection  (GdaMetaStore *store);
-gchar            *gda_meta_store_sql_identifier_quote     (const char*, GdaConnection *cnc);
+gchar            *gda_meta_store_sql_identifier_quote     (const gchar *id, GdaConnection *cnc);
 GdaDataModel     *gda_meta_store_extract                  (GdaMetaStore *store, const gchar *select_sql, GError **error, ...);
 gboolean          gda_meta_store_modify                   (GdaMetaStore *store, const gchar *table_name, 
 							   GdaDataModel *new_data, const gchar *condition, GError **error, ...);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]