Below is the list of changes that have just been committed into a local
5.0 repository of kostja. When kostja 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, 2007-05-14 10:56:23+04:00, kostja@vajra.(none) +1 -0
Fix a warning.
sql/sql_insert.cc@stripped, 2007-05-14 10:56:18+04:00, kostja@vajra.(none) +6 -6
Fix a compile-time warning (log_on is not used in embedded).
# 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: kostja
# Host: vajra.(none)
# Root: /opt/local/work/mysql-5.0-runtime
--- 1.233/sql/sql_insert.cc 2007-05-11 21:55:50 +04:00
+++ 1.234/sql/sql_insert.cc 2007-05-14 10:56:18 +04:00
@@ -483,11 +483,6 @@
bool ignore)
{
int error, res;
- /*
- log_on is about delayed inserts only.
- By default, both logs are enabled (this won't cause problems if the server
- runs without --log-update or --log-bin).
- */
bool transactional_table, joins_freed= FALSE;
bool changed;
uint value_count;
@@ -501,9 +496,14 @@
Name_resolution_context_state ctx_state;
#ifndef EMBEDDED_LIBRARY
char *query= thd->query;
-#endif
+ /*
+ log_on is about delayed inserts only.
+ By default, both logs are enabled (this won't cause problems if the server
+ runs without --log-update or --log-bin).
+ */
bool log_on= (thd->options & OPTION_BIN_LOG) ||
(!(thd->security_ctx->master_access & SUPER_ACL));
+#endif
thr_lock_type lock_type = table_list->lock_type;
Item *unused_conds= 0;
DBUG_ENTER("mysql_insert");
| Thread |
|---|
| • bk commit into 5.0 tree (kostja:1.2480) | konstantin | 14 May |