List:Internals« Previous MessageNext Message »
From:gluh Date:September 19 2005 8:50am
Subject:bk commit into 5.0 tree (gluh:1.1980) BUG#13202
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of gluh. When gluh 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.1980 05/09/19 13:50:17 gluh@stripped +2 -0
  Fix for bug#13202 SELECT * INTO OUTFILE ... FROM information_schema.schemata now fails
    allow select into outfile from I_S tables

  sql/sql_parse.cc
    1.489 05/09/19 13:49:08 gluh@stripped +1 -1
    Fix for bug#13202 SELECT * INTO OUTFILE ... FROM information_schema.schemata now fails
      allow select into outfile from I_S tables

  mysql-test/t/outfile.test
    1.12 05/09/19 13:49:08 gluh@stripped +10 -0
    Fix for bug#13202 SELECT * INTO OUTFILE ... FROM information_schema.schemata now fails
      test case

# 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:	gluh
# Host:	eagle.intranet.mysql.r18.ru
# Root:	/home/gluh/MySQL/Bugs/5.0.13202

--- 1.488/sql/sql_parse.cc	Wed Sep 14 23:44:43 2005
+++ 1.489/sql/sql_parse.cc	Mon Sep 19 13:49:08 2005
@@ -4956,7 +4956,7 @@
   for (; tables; tables= tables->next_global)
   {
     if (tables->schema_table && 
-        (want_access & ~(SELECT_ACL | EXTRA_ACL)))
+        (want_access & ~(SELECT_ACL | EXTRA_ACL | FILE_ACL)))
     {
       if (!no_errors)
         my_error(ER_DBACCESS_DENIED_ERROR, MYF(0),

--- 1.11/mysql-test/t/outfile.test	Thu Jul 28 05:21:46 2005
+++ 1.12/mysql-test/t/outfile.test	Mon Sep 19 13:49:08 2005
@@ -65,3 +65,13 @@
 DROP TABLE t1;
 
 # End of 4.1 tests
+
+#
+# Bug#13202  SELECT * INTO OUTFILE ... FROM information_schema.schemata now fails
+#
+disable_query_log;
+eval SELECT * INTO OUTFILE "$MYSQL_TEST_DIR/var/tmp/outfile-test.4"
+FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
+FROM information_schema.schemata LIMIT 0, 5;
+enable_query_log;
+--exec rm $MYSQL_TEST_DIR/var/tmp/outfile-test.4
Thread
bk commit into 5.0 tree (gluh:1.1980) BUG#13202gluh19 Sep