List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:October 23 2006 3:43pm
Subject:bk commit into 4.1 tree (stewart:1.2537)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of stewart. When stewart does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-10-23 23:43:48+10:00, stewart@willster.(none) +1 -0
  Merge willster.(none):/home/stewart/Documents/MySQL/4.1/bug19914-mk2
  into  willster.(none):/home/stewart/Documents/MySQL/4.1/bug19914-mk2-merge2
  MERGE: 1.2532.1.23

  sql/sql_select.cc@stripped, 2006-10-23 23:43:46+10:00, stewart@willster.(none) +0 -0
    Auto merged
    MERGE: 1.457.1.4

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/4.1/bug19914-mk2-merge2/RESYNC

--- 1.459/sql/sql_select.cc	2006-10-23 23:43:52 +10:00
+++ 1.460/sql/sql_select.cc	2006-10-23 23:43:52 +10:00
@@ -538,6 +538,8 @@
     {
       if (res > 1)
       {
+        thd->fatal_error();
+        error= res;
 	DBUG_RETURN(1);
       }
       if (res < 0)
@@ -1785,7 +1787,12 @@
     s->checked_keys.init();
     s->needed_reg.init();
     table_vector[i]=s->table=table=tables->table;
-    table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);// record count
+    error= table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
+    if(error)
+    {
+        table->file->print_error(error, MYF(0));
+        DBUG_RETURN(1);
+    }
     table->quick_keys.clear_all();
     table->reginfo.join_tab=s;
     table->reginfo.not_exists_optimize=0;
Thread
bk commit into 4.1 tree (stewart:1.2537)Stewart Smith23 Oct