[libgda] Replaced gda_parse_string() by gda_parse_sql_string()
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Replaced gda_parse_string() by gda_parse_sql_string()
- Date: Wed, 16 Jun 2010 19:19:36 +0000 (UTC)
commit 935c72da85c4d1e1f497d8924213e7cbe12a5b0c
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Jun 16 21:19:26 2010 +0200
Replaced gda_parse_string() by gda_parse_sql_string()
doc/C/libgda-sections.txt | 2 +-
doc/C/tmpl/gda-convenient.sgml | 2 +-
libgda/gda-easy.c | 4 ++--
libgda/gda-easy.h | 4 ++--
libgda/libgda.symbols | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/doc/C/libgda-sections.txt b/doc/C/libgda-sections.txt
index 7a8272c..903a055 100644
--- a/doc/C/libgda-sections.txt
+++ b/doc/C/libgda-sections.txt
@@ -919,7 +919,7 @@ gda_insert_row_into_table
gda_update_row_in_table
gda_delete_row_from_table
<SUBSECTION>
-gda_parse_string
+gda_parse_sql_string
<SUBSECTION>
gda_get_default_handler
</SECTION>
diff --git a/doc/C/tmpl/gda-convenient.sgml b/doc/C/tmpl/gda-convenient.sgml
index 4ba249d..730ee65 100644
--- a/doc/C/tmpl/gda-convenient.sgml
+++ b/doc/C/tmpl/gda-convenient.sgml
@@ -168,7 +168,7 @@ Do quickly some actions
@Returns:
-<!-- ##### FUNCTION gda_parse_string ##### -->
+<!-- ##### FUNCTION gda_parse_sql_string ##### -->
<para>
</para>
diff --git a/libgda/gda-easy.c b/libgda/gda-easy.c
index 0c43559..eb82717 100644
--- a/libgda/gda-easy.c
+++ b/libgda/gda-easy.c
@@ -1051,7 +1051,7 @@ gda_delete_row_from_table (GdaConnection *cnc, const gchar *table,
}
/**
- * gda_parse_string
+ * gda_parse_sql_string
* @cnc: (allow-none): a #GdaConnection object, or %NULL
* @sql: an SQL command to parse, not %NULL
* @params: (out) (allow-none) (transfer full): a place to store a new #GdaSet, for parameters used in SQL command, or %NULL
@@ -1064,7 +1064,7 @@ gda_delete_row_from_table (GdaConnection *cnc, const gchar *table,
* Since: 4.2
*/
GdaStatement*
-gda_parse_string (GdaConnection *cnc, const gchar *sql, GdaSet **params, GError **error)
+gda_parse_sql_string (GdaConnection *cnc, const gchar *sql, GdaSet **params, GError **error)
{
GdaStatement *stmt;
GdaSqlParser *parser = NULL;
diff --git a/libgda/gda-easy.h b/libgda/gda-easy.h
index b44f97f..a08f742 100644
--- a/libgda/gda-easy.h
+++ b/libgda/gda-easy.h
@@ -1,5 +1,5 @@
/* GDA library
- * Copyright (C) 2008 The GNOME Foundation.
+ * Copyright (C) 2008 - 2010 The GNOME Foundation.
*
* AUTHORS:
* Vivien Malerba <malerba gnome-db org>
@@ -60,7 +60,7 @@ typedef enum
* Convenient Functions
*/
GdaDataHandler *gda_get_default_handler (GType for_type);
-GdaStatement *gda_parse_string (GdaConnection *cnc, const gchar *sql, GdaSet **params,
+GdaStatement *gda_parse_sql_string (GdaConnection *cnc, const gchar *sql, GdaSet **params,
GError **error);
/*
* Quick commands execution
diff --git a/libgda/libgda.symbols b/libgda/libgda.symbols
index df247aa..5c7d94c 100644
--- a/libgda/libgda.symbols
+++ b/libgda/libgda.symbols
@@ -457,7 +457,7 @@
gda_parse_iso8601_date
gda_parse_iso8601_time
gda_parse_iso8601_timestamp
- gda_parse_string
+ gda_parse_sql_string
gda_perform_create_database
gda_perform_create_table
gda_perform_drop_database
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]