gnomemm r1979 - in libgdamm/trunk: . libgda/src
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1979 - in libgdamm/trunk: . libgda/src
- Date: Fri, 9 Jan 2009 15:40:06 +0000 (UTC)
Author: jhs
Date: Fri Jan 9 15:40:05 2009
New Revision: 1979
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1979&view=rev
Log:
2009-01-09 Johannes Schmid <jschmid openismus com>
* libgda/src/connection.ccg:
Fix update_meta_store_table()
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/connection.ccg
Modified: libgdamm/trunk/libgda/src/connection.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/connection.ccg (original)
+++ libgdamm/trunk/libgda/src/connection.ccg Fri Jan 9 15:40:05 2009
@@ -351,19 +351,19 @@
{
GdaMetaContext mcontext = {(gchar*)"_tables", 1, NULL, NULL};
mcontext.column_names = g_new (gchar *, 1);
- mcontext.column_names[0] = (gchar*)"table_schema";
+ mcontext.column_names[0] = (gchar*)"table_name";
mcontext.column_values = g_new (GValue *, 1);
g_value_set_string ((mcontext.column_values[0] = gda_value_new (G_TYPE_STRING)), table_name.c_str());
GError* gerror = 0;
bool retval = gda_connection_update_meta_store(gobj(), &mcontext, &gerror);
-
- #ifdef GLIBMM_EXCEPTIONS_ENABLED
+
+#ifdef GLIBMM_EXCEPTIONS_ENABLED
if(gerror)
::Glib::Error::throw_exception(gerror);
- #else
+#else
if(gerror)
error = ::Glib::Error::throw_exception(gerror);
- #endif //GLIBMM_EXCEPTIONS_ENABLED
+#endif //GLIBMM_EXCEPTIONS_ENABLED
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]