glom r1846 - in trunk: . glom/libglom
- From: arminb svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1846 - in trunk: . glom/libglom
- Date: Tue, 13 Jan 2009 20:48:32 +0000 (UTC)
Author: arminb
Date: Tue Jan 13 20:48:32 2009
New Revision: 1846
URL: http://svn.gnome.org/viewvc/glom?rev=1846&view=rev
Log:
2009-01-13 Armin Burgmeier <armin openismus com>
* glom/libglom/connectionpool.cc add_column(): Don't set the
autoincrement field for the newly added column since we do control
this ourselves in Glom.
Modified:
trunk/ChangeLog
trunk/glom/libglom/connectionpool.cc
Modified: trunk/glom/libglom/connectionpool.cc
==============================================================================
--- trunk/glom/libglom/connectionpool.cc (original)
+++ trunk/glom/libglom/connectionpool.cc Tue Jan 13 20:48:32 2009
@@ -372,7 +372,6 @@
if(!set_server_operation_value(operation, "/COLUMN_DEF_P/TABLE_NAME", table_name, error)) return false;
if(!set_server_operation_value(operation, "/COLUMN_DEF_P/COLUMN_NAME", field->get_name(), error)) return false;
if(!set_server_operation_value(operation, "/COLUMN_DEF_P/COLUMN_TYPE", field->get_sql_type(), error)) return false;
- if(!set_server_operation_value(operation, "/COLUMN_DEF_P/COLUMN_AUTOINC", field->get_auto_increment() ? "TRUE" : "FALSE", error)) return false;
if(!set_server_operation_value(operation, "/COLUMN_DEF_P/COLUMN_PKEY", field->get_primary_key() ? "TRUE" : "FALSE", error)) return false;
if(!set_server_operation_value(operation, "/COLUMN_DEF_P/COLUMN_UNIQUE", field->get_unique_key() ? "TRUE" : "FALSE", error)) return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]