~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/90_TEMP_sqlparse-ifdef.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-27 16:03:02 UTC
  • Revision ID: james.westby@ubuntu.com-20070427160302-gp3teonw93l6ja75
Tags: 5.0.38-3build1
Fake sync from Debian. All Ubuntu changes are in Debian, but we have a
md5sum mismatch on the orig.tar.gz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 99-unnamed.dpatch by  <ch@debian.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: http://lists.mysql.com/commits/21676
 
6
 
 
7
@DPATCH@
 
8
 
 
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
 
12
 
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
 
19
 
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
 
24
 
25
#   sql/sql_parse.cc@stripped, 2007-03-10 17:44:23+04:00, holyfoot@stripped +1 -1
 
26
#     default condition fixed
 
27
 
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.
 
31
# # User:       holyfoot
 
32
# # Host:       hfmain.(none)
 
33
# # Root:       /home/hf/work/26833/my50-26833
 
34
 
 
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_
 
38
 {
 
39
   uint found=0;
 
40
   ulong found_access=0;
 
41
-#ifndef EMBEDDED_LIBRARY
 
42
+#ifndef NO_EMBEDDED_ACCESS_CHECKS
 
43
   TABLE_LIST *org_tables= tables;
 
44
 #endif
 
45
   TABLE_LIST *first_not_own_table= thd->lex->first_not_own_table();