mariadb/client
Vamsikrishna Bhagi 2217a9e38b Bug#14463669 FAILURE TO CORRECTLY PARSE ROUTINES IN
MYSQLDUMP OUTPUT

Problem: mysqldump when used with option --routines, dumps
         all the routines of the specified database into
         output. The statements in this output are written
         in such a way that they are version safe using C
         style version commenting (of the format
         /*!<version num> <sql statement>*/). If a semicolon
         is present right before closing of the comment in
         dump output, it results in a syntax error while
         importing.


Solution: Version comments for dumped routines are
          specifically to protect the ones older than 5.0.
          When the import is done on 5.0 or later versions,
          entire create statement gets executed as all the
          check conditions at the beginning of the comments
          are cleared. Since the trade off is between the
          performance of newer versions which are more in
          use and protection of very old versions which are
          no longer supported, it is proposed that these
          comments be removed altogether to maintain
          stability of the versions supported.

client/mysqldump.c:
  Bug#14463669 FAILURE TO CORRECTLY PARSE ROUTINES IN
               MYSQLDUMP OUTPUT
  
  Output of mysqldump is derived by getting the queries from
  show create and appending version comments to them.
  query_str is the variable used to store the final string.
  Since it is no longer required, its declaration and
  manipulations made on it are deleted. At the step where
  output is printed, query_str is replaced with the original
  query string derived from 'show create'.
2012-11-19 21:41:35 +05:30
..
client_priv.h Bug #12998841: libmysql divulges plaintext password upon request in 5.5 2012-07-05 09:55:20 +03:00
CMakeLists.txt Updated/added copyright headers 2012-02-16 10:48:16 +01:00
completion_hash.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
completion_hash.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c fixes for build failures due to my yesterday's changeset forbidding 2008-02-19 18:45:11 +01:00
my_readline.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mysql.cc Merge of fix for Bug#14645196 from mysql-5.1 2012-09-21 23:31:32 +05:30
mysql_plugin.c Updated/added copyright headers 2012-02-16 10:48:16 +01:00
mysql_upgrade.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqladmin.cc Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqlbinlog.cc upmerge from mysql-5.1=>mysql-5.5 2012-08-08 22:20:05 +05:30
mysqlcheck.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqldump.c Bug#14463669 FAILURE TO CORRECTLY PARSE ROUTINES IN 2012-11-19 21:41:35 +05:30
mysqlimport.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqlshow.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqlslap.c Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
mysqltest.cc Merge of patch for Bug#13928675 from mysql-5.1. 2012-08-07 19:07:13 +05:30
readline.cc Build broken for gcc 4.5.1 in optimized mode. 2011-11-29 15:52:47 +01:00
sql_string.cc Updated/added copyright headers 2012-02-16 10:48:16 +01:00
sql_string.h merge 5.1 => 5.5 2012-07-26 15:06:43 +02:00