List:Commits« Previous MessageNext Message »
From:msvensson Date:June 7 2006 12:07pm
Subject:bk commit into 5.0 tree (msvensson:1.2160) BUG#20159
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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
  1.2160 06/06/07 14:07:11 msvensson@neptunus.(none) +1 -0
  Bug#20159 Inconsistant generation of generic error messages
   - Use hardcoded error message instead of ER_GET_ERRNO 

  sql/sql_udf.cc
    1.57 06/06/07 14:07:06 msvensson@neptunus.(none) +1 -1
    Use hardcoded error message "Got unknown error: %d" instead of system error message "Got error %d from storage engine" as the "storage engine" has nothing to do with this.

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0-maint

--- 1.56/sql/sql_udf.cc	2006-03-20 21:34:55 +01:00
+++ 1.57/sql/sql_udf.cc	2006-06-07 14:07:06 +02:00
@@ -237,7 +237,7 @@
     }
   }
   if (error > 0)
-    sql_print_error(ER(ER_GET_ERRNO), my_errno);
+    sql_print_error("Got unknown error: %d", my_errno);
   end_read_record(&read_record_info);
   new_thd->version--;				// Force close to free memory
 
Thread
bk commit into 5.0 tree (msvensson:1.2160) BUG#20159msvensson7 Jun