1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 99-unnamed.dpatch by <ch@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: http://lists.mysql.com/commits/21676
9
# From: holyfoot at mysql dot com
10
# Date: March 10 2007 2:44pm
11
# Subject: bk commit into 5.0 tree (holyfoot:1.2470) BUG#26833
13
# Below is the list of changes that have just been committed into a local
14
# 5.0 repository of hf. When hf does a push these changes will
15
# be propagated to the main repository and, within 24 hours after the
16
# push, to the public repository.
17
# For information on how to access the public repository
18
# see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
20
# ChangeSet@stripped, 2007-03-10 17:44:25+04:00, holyfoot@stripped +1 -0
21
# bug #26833 (Compile error with embedded lib)
22
# org_tables declaration was mistakenly #ifdef-ed with the EMBEDDED_LIBRARY
23
# instead of ACCESS_CHECKS
25
# sql/sql_parse.cc@stripped, 2007-03-10 17:44:23+04:00, holyfoot@stripped +1 -1
26
# default condition fixed
28
# # This is a BitKeeper patch. What follows are the unified diffs for the
29
# # set of deltas contained in the patch. The rest of the patch, the part
30
# # that BitKeeper cares about, is below these diffs.
32
# # Host: hfmain.(none)
33
# # Root: /home/hf/work/26833/my50-26833
35
--- old/sql/sql_parse.cc 2007-03-10 17:44:29 +04:00
36
+++ new/sql/sql_parse.cc 2007-03-10 17:44:29 +04:00
37
@@ -5402,7 +5402,7 @@ check_table_access(THD *thd, ulong want_
41
-#ifndef EMBEDDED_LIBRARY
42
+#ifndef NO_EMBEDDED_ACCESS_CHECKS
43
TABLE_LIST *org_tables= tables;
45
TABLE_LIST *first_not_own_table= thd->lex->first_not_own_table();