? cvs_get_vanilla.sh
Index: database/updates.inc
===================================================================
RCS file: /cvs/drupal/drupal/database/updates.inc,v
retrieving revision 1.174
diff -u -p -r1.174 updates.inc
--- database/updates.inc	4 Jan 2006 09:17:02 -0000	1.174
+++ database/updates.inc	5 Jan 2006 21:05:31 -0000
@@ -1349,7 +1349,7 @@ function system_update_166() {
   switch ($GLOBALS['db_type']) {
     case 'mysqli':
     case 'mysql':
-      update_sql("CREATE TABLE client (
+      $ret[] = update_sql("CREATE TABLE client (
         cid int(10) unsigned NOT NULL auto_increment,
         link varchar(255) NOT NULL default '',
         name varchar(128) NOT NULL default '',
@@ -1363,7 +1363,7 @@ function system_update_166() {
         changed int(11) NOT NULL default '0',
         PRIMARY KEY (cid)
       ) TYPE=MyISAM");
-      update_sql("CREATE TABLE client_system (
+      $ret[] = update_sql("CREATE TABLE client_system (
         cid int(10) NOT NULL default '0',
         name varchar(255) NOT NULL default '',
         type varchar(255) NOT NULL default '',
@@ -1372,7 +1372,7 @@ function system_update_166() {
       break;
 
     case 'pgsql':
-      update_sql("CREATE TABLE client (
+      $ret[] = update_sql("CREATE TABLE client (
         cid SERIAL,
         link varchar(255) NOT NULL default '',
         name varchar(128) NOT NULL default '',
@@ -1386,7 +1386,7 @@ function system_update_166() {
         changed integer NOT NULL default '0',
         PRIMARY KEY (cid)
       )");
-      update_sql("CREATE TABLE client_system (
+      $ret[] = update_sql("CREATE TABLE client_system (
         cid integer NOT NULL,
         name varchar(255) NOT NULL default '',
         type varchar(255) NOT NULL default '',
