Merge lp:~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109 into lp:ubuntu/precise/mysql-5.5

Proposed by Ubuntu Package Importer
Status: Rejected
Rejected by: James Westby
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109
Merge into: lp:ubuntu/precise/mysql-5.5
Diff against target: 10401 lines (+10317/-0) (has conflicts)
10 files modified
.pc/38_scripts__mysqld_safe.sh__signals.patch/scripts/mysqld_safe.sh (+825/-0)
.pc/62_disable_tests.patch/mysql-test/t/disabled.def (+17/-0)
.pc/70_mysql_va_list.patch/sql-common/client_plugin.c (+472/-0)
.pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl/t/disabled.def (+17/-0)
.pc/72_fix_standalone_tests.patch/mysql-test/lib/mtr_cases.pm (+1265/-0)
.pc/applied-patches (+6/-0)
.pc/fix-mysqldump-test.patch/mysql-test/r/mysqldump.result (+5207/-0)
.pc/fix-mysqldump-test.patch/mysql-test/t/mysqldump.test (+2369/-0)
debian/patches/fix-mysqldump-test.patch (+53/-0)
debian/patches/link-clientprograms-dynamically.patch (+86/-0)
Conflict adding file .pc/38_scripts__mysqld_safe.sh__signals.patch.  Moved existing file to .pc/38_scripts__mysqld_safe.sh__signals.patch.moved.
Conflict adding file .pc/62_disable_tests.patch.  Moved existing file to .pc/62_disable_tests.patch.moved.
Conflict adding file .pc/70_mysql_va_list.patch.  Moved existing file to .pc/70_mysql_va_list.patch.moved.
Conflict adding file .pc/71_disable_rpl_tests.patch.  Moved existing file to .pc/71_disable_rpl_tests.patch.moved.
Conflict adding file .pc/72_fix_standalone_tests.patch.  Moved existing file to .pc/72_fix_standalone_tests.patch.moved.
Conflict adding file .pc/applied-patches.  Moved existing file to .pc/applied-patches.moved.
Conflict adding file .pc/fix-mysqldump-test.patch.  Moved existing file to .pc/fix-mysqldump-test.patch.moved.
Conflict adding file debian/patches/fix-mysqldump-test.patch.  Moved existing file to debian/patches/fix-mysqldump-test.patch.moved.
Conflict adding file debian/patches/link-clientprograms-dynamically.patch.  Moved existing file to debian/patches/link-clientprograms-dynamically.patch.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109
Reviewer Review Type Date Requested Status
Ubuntu Development Team Pending
Review via email: mp+100062@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/mysql-5.5 reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

25. By Clint Byrum

releasing version 5.5.22-0ubuntu1

24. By Clint Byrum

New upstream release (LP: #965523)

23. By Clint Byrum

Reverting dynamic linking patch since upstream is unsure about it

22. By Clint Byrum

d/control: Re-add empty meta-package for mysql-testsuite so users
will get the 5.5 version on upgrade and when installing
mysql-testsuite. (LP: #959683)

21. By Clint Byrum

d/p/fix-mysqldump-test.patch: Fixes unreliable test introduced in
new upstream version. http://bugs.mysql.com/bug.php?id=64401

20. By Clint Byrum

d/control: Build-Dep on dh-apparmor (LP: #948481)

19. By Clint Byrum

d/patches/link-clientprograms-statically.patch: Does as its name
implies. (LP: #898340)

18. By Clint Byrum

Refreshed patches

17. By Clint Byrum

New upstream bugfix release.

16. By Clint Byrum

d/mysql-server-5.5.mysql.upstart: Add respawn limit and code
to exit ping loop if mysqld needs to be respawned. (LP: #711635)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.pc/38_scripts__mysqld_safe.sh__signals.patch'
2=== renamed directory '.pc/38_scripts__mysqld_safe.sh__signals.patch' => '.pc/38_scripts__mysqld_safe.sh__signals.patch.moved'
3=== added file '.pc/38_scripts__mysqld_safe.sh__signals.patch/.timestamp'
4=== added directory '.pc/38_scripts__mysqld_safe.sh__signals.patch/scripts'
5=== added file '.pc/38_scripts__mysqld_safe.sh__signals.patch/scripts/mysqld_safe.sh'
6--- .pc/38_scripts__mysqld_safe.sh__signals.patch/scripts/mysqld_safe.sh 1970-01-01 00:00:00 +0000
7+++ .pc/38_scripts__mysqld_safe.sh__signals.patch/scripts/mysqld_safe.sh 2012-03-30 01:16:23 +0000
8@@ -0,0 +1,825 @@
9+#!/bin/sh
10+# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
11+# This file is public domain and comes with NO WARRANTY of any kind
12+#
13+# Script to start the MySQL daemon and restart it if it dies unexpectedly
14+#
15+# This should be executed in the MySQL base directory if you are using a
16+# binary installation that is not installed in its compile-time default
17+# location
18+#
19+# mysql.server works by first doing a cd to the base directory and from there
20+# executing mysqld_safe
21+
22+# Initialize script globals
23+KILL_MYSQLD=1;
24+MYSQLD=
25+niceness=0
26+mysqld_ld_preload=
27+mysqld_ld_library_path=
28+
29+# Initial logging status: error log is not open, and not using syslog
30+logging=init
31+want_syslog=0
32+syslog_tag=
33+user='@MYSQLD_USER@'
34+pid_file=
35+err_log=
36+
37+syslog_tag_mysqld=mysqld
38+syslog_tag_mysqld_safe=mysqld_safe
39+
40+trap '' 1 2 3 15 # we shouldn't let anyone kill us
41+
42+umask 007
43+
44+defaults=
45+case "$1" in
46+ --no-defaults|--defaults-file=*|--defaults-extra-file=*)
47+ defaults="$1"; shift
48+ ;;
49+esac
50+
51+usage () {
52+ cat <<EOF
53+Usage: $0 [OPTIONS]
54+ --no-defaults Don't read the system defaults file
55+ --defaults-file=FILE Use the specified defaults file
56+ --defaults-extra-file=FILE Also use defaults from the specified file
57+ --ledir=DIRECTORY Look for mysqld in the specified directory
58+ --open-files-limit=LIMIT Limit the number of open files
59+ --core-file-size=LIMIT Limit core files to the specified size
60+ --timezone=TZ Set the system timezone
61+ --malloc-lib=LIB Preload shared library LIB if available
62+ --mysqld=FILE Use the specified file as mysqld
63+ --mysqld-version=VERSION Use "mysqld-VERSION" as mysqld
64+ --nice=NICE Set the scheduling priority of mysqld
65+ --plugin-dir=DIR Plugins are under DIR or DIR/VERSION, if
66+ VERSION is given
67+ --skip-kill-mysqld Don't try to kill stray mysqld processes
68+ --syslog Log messages to syslog with 'logger'
69+ --skip-syslog Log messages to error log (default)
70+ --syslog-tag=TAG Pass -t "mysqld-TAG" to 'logger'
71+
72+All other options are passed to the mysqld program.
73+
74+EOF
75+ exit 1
76+}
77+
78+my_which ()
79+{
80+ save_ifs="${IFS-UNSET}"
81+ IFS=:
82+ ret=0
83+ for file
84+ do
85+ for dir in $PATH
86+ do
87+ if [ -f "$dir/$file" ]
88+ then
89+ echo "$dir/$file"
90+ continue 2
91+ fi
92+ done
93+
94+ ret=1 #signal an error
95+ break
96+ done
97+
98+ if [ "$save_ifs" = UNSET ]
99+ then
100+ unset IFS
101+ else
102+ IFS="$save_ifs"
103+ fi
104+ return $ret # Success
105+}
106+
107+log_generic () {
108+ priority="$1"
109+ shift
110+
111+ msg="`date +'%y%m%d %H:%M:%S'` mysqld_safe $*"
112+ echo "$msg"
113+ case $logging in
114+ init) ;; # Just echo the message, don't save it anywhere
115+ file) echo "$msg" >> "$err_log" ;;
116+ syslog) logger -t "$syslog_tag_mysqld_safe" -p "$priority" "$*" ;;
117+ *)
118+ echo "Internal program error (non-fatal):" \
119+ " unknown logging method '$logging'" >&2
120+ ;;
121+ esac
122+}
123+
124+log_error () {
125+ log_generic daemon.error "$@" >&2
126+}
127+
128+log_notice () {
129+ log_generic daemon.notice "$@"
130+}
131+
132+eval_log_error () {
133+ cmd="$1"
134+ case $logging in
135+ file) cmd="$cmd >> "`shell_quote_string "$err_log"`" 2>&1" ;;
136+ syslog)
137+ # mysqld often prefixes its messages with a timestamp, which is
138+ # redundant when logging to syslog (which adds its own timestamp)
139+ # However, we don't strip the timestamp with sed here, because
140+ # sed buffers output (only GNU sed supports a -u (unbuffered) option)
141+ # which means that messages may not get sent to syslog until the
142+ # mysqld process quits.
143+ cmd="$cmd 2>&1 | logger -t '$syslog_tag_mysqld' -p daemon.error"
144+ ;;
145+ *)
146+ echo "Internal program error (non-fatal):" \
147+ " unknown logging method '$logging'" >&2
148+ ;;
149+ esac
150+
151+ #echo "Running mysqld: [$cmd]"
152+ eval "$cmd"
153+}
154+
155+shell_quote_string() {
156+ # This sed command makes sure that any special chars are quoted,
157+ # so the arg gets passed exactly to the server.
158+ echo "$1" | sed -e 's,\([^a-zA-Z0-9/_.=-]\),\\\1,g'
159+}
160+
161+parse_arguments() {
162+ # We only need to pass arguments through to the server if we don't
163+ # handle them here. So, we collect unrecognized options (passed on
164+ # the command line) into the args variable.
165+ pick_args=
166+ if test "$1" = PICK-ARGS-FROM-ARGV
167+ then
168+ pick_args=1
169+ shift
170+ fi
171+
172+ for arg do
173+ # the parameter after "=", or the whole $arg if no match
174+ val=`echo "$arg" | sed -e 's;^--[^=]*=;;'`
175+ # what's before "=", or the whole $arg if no match
176+ optname=`echo "$arg" | sed -e 's/^\(--[^=]*\)=.*$/\1/'`
177+ # replace "_" by "-" ; mysqld_safe must accept "_" like mysqld does.
178+ optname_subst=`echo "$optname" | sed 's/_/-/g'`
179+ arg=`echo $arg | sed "s/^$optname/$optname_subst/"`
180+ case "$arg" in
181+ # these get passed explicitly to mysqld
182+ --basedir=*) MY_BASEDIR_VERSION="$val" ;;
183+ --datadir=*) DATADIR="$val" ;;
184+ --pid-file=*) pid_file="$val" ;;
185+ --plugin-dir=*) PLUGIN_DIR="$val" ;;
186+ --user=*) user="$val"; SET_USER=1 ;;
187+
188+ # these might have been set in a [mysqld_safe] section of my.cnf
189+ # they are added to mysqld command line to override settings from my.cnf
190+ --log-error=*) err_log="$val" ;;
191+ --port=*) mysql_tcp_port="$val" ;;
192+ --socket=*) mysql_unix_port="$val" ;;
193+
194+ # mysqld_safe-specific options - must be set in my.cnf ([mysqld_safe])!
195+ --core-file-size=*) core_file_size="$val" ;;
196+ --ledir=*) ledir="$val" ;;
197+ --malloc-lib=*) set_malloc_lib "$val" ;;
198+ --mysqld=*) MYSQLD="$val" ;;
199+ --mysqld-version=*)
200+ if test -n "$val"
201+ then
202+ MYSQLD="mysqld-$val"
203+ PLUGIN_VARIANT="/$val"
204+ else
205+ MYSQLD="mysqld"
206+ fi
207+ ;;
208+ --nice=*) niceness="$val" ;;
209+ --open-files-limit=*) open_files="$val" ;;
210+ --open_files_limit=*) open_files="$val" ;;
211+ --skip-kill-mysqld*) KILL_MYSQLD=0 ;;
212+ --syslog) want_syslog=1 ;;
213+ --skip-syslog) want_syslog=0 ;;
214+ --syslog-tag=*) syslog_tag="$val" ;;
215+ --timezone=*) TZ="$val"; export TZ; ;;
216+
217+ --help) usage ;;
218+
219+ *)
220+ if test -n "$pick_args"
221+ then
222+ append_arg_to_args "$arg"
223+ fi
224+ ;;
225+ esac
226+ done
227+}
228+
229+
230+# Add a single shared library to the list of libraries which will be added to
231+# LD_PRELOAD for mysqld
232+#
233+# Since LD_PRELOAD is a space-separated value (for historical reasons), if a
234+# shared lib's path contains spaces, that path will be prepended to
235+# LD_LIBRARY_PATH and stripped from the lib value.
236+add_mysqld_ld_preload() {
237+ lib_to_add="$1"
238+ log_notice "Adding '$lib_to_add' to LD_PRELOAD for mysqld"
239+
240+ case "$lib_to_add" in
241+ *' '*)
242+ # Must strip path from lib, and add it to LD_LIBRARY_PATH
243+ lib_file=`basename "$lib_to_add"`
244+ case "$lib_file" in
245+ *' '*)
246+ # The lib file itself has a space in its name, and can't
247+ # be used in LD_PRELOAD
248+ log_error "library name '$lib_to_add' contains spaces and can not be used with LD_PRELOAD"
249+ exit 1
250+ ;;
251+ esac
252+ lib_path=`dirname "$lib_to_add"`
253+ lib_to_add="$lib_file"
254+ [ -n "$mysqld_ld_library_path" ] && mysqld_ld_library_path="$mysqld_ld_library_path:"
255+ mysqld_ld_library_path="$mysqld_ld_library_path$lib_path"
256+ ;;
257+ esac
258+
259+ # LD_PRELOAD is a space-separated
260+ [ -n "$mysqld_ld_preload" ] && mysqld_ld_preload="$mysqld_ld_preload "
261+ mysqld_ld_preload="${mysqld_ld_preload}$lib_to_add"
262+}
263+
264+
265+# Returns LD_PRELOAD (and LD_LIBRARY_PATH, if needed) text, quoted to be
266+# suitable for use in the eval that calls mysqld.
267+#
268+# All values in mysqld_ld_preload are prepended to LD_PRELOAD.
269+mysqld_ld_preload_text() {
270+ text=
271+
272+ if [ -n "$mysqld_ld_preload" ]; then
273+ new_text="$mysqld_ld_preload"
274+ [ -n "$LD_PRELOAD" ] && new_text="$new_text $LD_PRELOAD"
275+ text="${text}LD_PRELOAD="`shell_quote_string "$new_text"`' '
276+ fi
277+
278+ if [ -n "$mysqld_ld_library_path" ]; then
279+ new_text="$mysqld_ld_library_path"
280+ [ -n "$LD_LIBRARY_PATH" ] && new_text="$new_text:$LD_LIBRARY_PATH"
281+ text="${text}LD_LIBRARY_PATH="`shell_quote_string "$new_text"`' '
282+ fi
283+
284+ echo "$text"
285+}
286+
287+
288+mysql_config=
289+get_mysql_config() {
290+ if [ -z "$mysql_config" ]; then
291+ mysql_config=`echo "$0" | sed 's,/[^/][^/]*$,/mysql_config,'`
292+ if [ ! -x "$mysql_config" ]; then
293+ log_error "Can not run mysql_config $@ from '$mysql_config'"
294+ exit 1
295+ fi
296+ fi
297+
298+ "$mysql_config" "$@"
299+}
300+
301+
302+# set_malloc_lib LIB
303+# - If LIB is empty, do nothing and return
304+# - If LIB is 'tcmalloc', look for tcmalloc shared library in /usr/lib
305+# then pkglibdir. tcmalloc is part of the Google perftools project.
306+# - If LIB is an absolute path, assume it is a malloc shared library
307+#
308+# Put LIB in mysqld_ld_preload, which will be added to LD_PRELOAD when
309+# running mysqld. See ld.so for details.
310+set_malloc_lib() {
311+ malloc_lib="$1"
312+
313+ if [ "$malloc_lib" = tcmalloc ]; then
314+ pkglibdir=`get_mysql_config --variable=pkglibdir`
315+ malloc_lib=
316+ # This list is kept intentionally simple. Simply set --malloc-lib
317+ # to a full path if another location is desired.
318+ for libdir in /usr/lib "$pkglibdir" "$pkglibdir/mysql"; do
319+ for flavor in _minimal '' _and_profiler _debug; do
320+ tmp="$libdir/libtcmalloc$flavor.so"
321+ #log_notice "DEBUG: Checking for malloc lib '$tmp'"
322+ [ -r "$tmp" ] || continue
323+ malloc_lib="$tmp"
324+ break 2
325+ done
326+ done
327+
328+ if [ -z "$malloc_lib" ]; then
329+ log_error "no shared library for --malloc-lib=tcmalloc found in /usr/lib or $pkglibdir"
330+ exit 1
331+ fi
332+ fi
333+
334+ # Allow --malloc-lib='' to override other settings
335+ [ -z "$malloc_lib" ] && return
336+
337+ case "$malloc_lib" in
338+ /*)
339+ if [ ! -r "$malloc_lib" ]; then
340+ log_error "--malloc-lib '$malloc_lib' can not be read and will not be used"
341+ exit 1
342+ fi
343+ ;;
344+ *)
345+ log_error "--malloc-lib must be an absolute path or 'tcmalloc'; " \
346+ "ignoring value '$malloc_lib'"
347+ exit 1
348+ ;;
349+ esac
350+
351+ add_mysqld_ld_preload "$malloc_lib"
352+}
353+
354+
355+#
356+# First, try to find BASEDIR and ledir (where mysqld is)
357+#
358+
359+if echo '@pkgdatadir@' | grep '^@prefix@' > /dev/null
360+then
361+ relpkgdata=`echo '@pkgdatadir@' | sed -e 's,^@prefix@,,' -e 's,^/,,' -e 's,^,./,'`
362+else
363+ # pkgdatadir is not relative to prefix
364+ relpkgdata='@pkgdatadir@'
365+fi
366+
367+MY_PWD=`pwd`
368+# Check for the directories we would expect from a binary release install
369+if test -n "$MY_BASEDIR_VERSION" -a -d "$MY_BASEDIR_VERSION"
370+then
371+ # BASEDIR is already overridden on command line. Do not re-set.
372+
373+ # Use BASEDIR to discover le.
374+ if test -x "$MY_BASEDIR_VERSION/libexec/mysqld"
375+ then
376+ ledir="$MY_BASEDIR_VERSION/libexec"
377+ elif test -x "$MY_BASEDIR_VERSION/sbin/mysqld"
378+ then
379+ ledir="$MY_BASEDIR_VERSION/sbin"
380+ else
381+ ledir="$MY_BASEDIR_VERSION/bin"
382+ fi
383+elif test -f "$relpkgdata"/english/errmsg.sys -a -x "$MY_PWD/bin/mysqld"
384+then
385+ MY_BASEDIR_VERSION="$MY_PWD" # Where bin, share and data are
386+ ledir="$MY_PWD/bin" # Where mysqld is
387+# Check for the directories we would expect from a source install
388+elif test -f "$relpkgdata"/english/errmsg.sys -a -x "$MY_PWD/libexec/mysqld"
389+then
390+ MY_BASEDIR_VERSION="$MY_PWD" # Where libexec, share and var are
391+ ledir="$MY_PWD/libexec" # Where mysqld is
392+elif test -f "$relpkgdata"/english/errmsg.sys -a -x "$MY_PWD/sbin/mysqld"
393+then
394+ MY_BASEDIR_VERSION="$MY_PWD" # Where sbin, share and var are
395+ ledir="$MY_PWD/sbin" # Where mysqld is
396+# Since we didn't find anything, used the compiled-in defaults
397+else
398+ MY_BASEDIR_VERSION='@prefix@'
399+ ledir='@libexecdir@'
400+fi
401+
402+
403+#
404+# Second, try to find the data directory
405+#
406+
407+# Try where the binary installs put it
408+if test -d $MY_BASEDIR_VERSION/data/mysql
409+then
410+ DATADIR=$MY_BASEDIR_VERSION/data
411+ if test -z "$defaults" -a -r "$DATADIR/my.cnf"
412+ then
413+ defaults="--defaults-extra-file=$DATADIR/my.cnf"
414+ fi
415+# Next try where the source installs put it
416+elif test -d $MY_BASEDIR_VERSION/var/mysql
417+then
418+ DATADIR=$MY_BASEDIR_VERSION/var
419+# Or just give up and use our compiled-in default
420+else
421+ DATADIR=@localstatedir@
422+fi
423+
424+#
425+# Try to find the plugin directory
426+#
427+
428+# Use user-supplied argument
429+if [ -n "${PLUGIN_DIR}" ]; then
430+ plugin_dir="${PLUGIN_DIR}"
431+else
432+ # Try to find plugin dir relative to basedir
433+ for dir in lib/mysql/plugin lib/plugin
434+ do
435+ if [ -d "${MY_BASEDIR_VERSION}/${dir}" ]; then
436+ plugin_dir="${MY_BASEDIR_VERSION}/${dir}"
437+ break
438+ fi
439+ done
440+ # Give up and use compiled-in default
441+ if [ -z "${plugin_dir}" ]; then
442+ plugin_dir='@pkgplugindir@'
443+ fi
444+fi
445+plugin_dir="${plugin_dir}${PLUGIN_VARIANT}"
446+
447+if test -z "$MYSQL_HOME"
448+then
449+ if test -r "$MY_BASEDIR_VERSION/my.cnf" && test -r "$DATADIR/my.cnf"
450+ then
451+ log_error "WARNING: Found two instances of my.cnf -
452+$MY_BASEDIR_VERSION/my.cnf and
453+$DATADIR/my.cnf
454+IGNORING $DATADIR/my.cnf"
455+
456+ MYSQL_HOME=$MY_BASEDIR_VERSION
457+ elif test -r "$DATADIR/my.cnf"
458+ then
459+ log_error "WARNING: Found $DATADIR/my.cnf
460+The data directory is a deprecated location for my.cnf, please move it to
461+$MY_BASEDIR_VERSION/my.cnf"
462+ MYSQL_HOME=$DATADIR
463+ else
464+ MYSQL_HOME=$MY_BASEDIR_VERSION
465+ fi
466+fi
467+export MYSQL_HOME
468+
469+
470+# Get first arguments from the my.cnf file, groups [mysqld] and [mysqld_safe]
471+# and then merge with the command line arguments
472+if test -x "$MY_BASEDIR_VERSION/bin/my_print_defaults"
473+then
474+ print_defaults="$MY_BASEDIR_VERSION/bin/my_print_defaults"
475+elif test -x `dirname $0`/my_print_defaults
476+then
477+ print_defaults="`dirname $0`/my_print_defaults"
478+elif test -x ./bin/my_print_defaults
479+then
480+ print_defaults="./bin/my_print_defaults"
481+elif test -x @bindir@/my_print_defaults
482+then
483+ print_defaults="@bindir@/my_print_defaults"
484+elif test -x @bindir@/mysql_print_defaults
485+then
486+ print_defaults="@bindir@/mysql_print_defaults"
487+else
488+ print_defaults="my_print_defaults"
489+fi
490+
491+append_arg_to_args () {
492+ args="$args "`shell_quote_string "$1"`
493+}
494+
495+args=
496+
497+SET_USER=2
498+parse_arguments `$print_defaults $defaults --loose-verbose mysqld server`
499+if test $SET_USER -eq 2
500+then
501+ SET_USER=0
502+fi
503+
504+parse_arguments `$print_defaults $defaults --loose-verbose mysqld_safe safe_mysqld`
505+parse_arguments PICK-ARGS-FROM-ARGV "$@"
506+
507+# Determine what logging facility to use
508+
509+# Ensure that 'logger' exists, if it's requested
510+if [ $want_syslog -eq 1 ]
511+then
512+ my_which logger > /dev/null 2>&1
513+ if [ $? -ne 0 ]
514+ then
515+ log_error "--syslog requested, but no 'logger' program found. Please ensure that 'logger' is in your PATH, or do not specify the --syslog option to mysqld_safe."
516+ exit 1
517+ fi
518+fi
519+
520+if [ -n "$err_log" -o $want_syslog -eq 0 ]
521+then
522+ if [ -n "$err_log" ]
523+ then
524+ # mysqld adds ".err" if there is no extension on the --log-error
525+ # argument; must match that here, or mysqld_safe will write to a
526+ # different log file than mysqld
527+
528+ # mysqld does not add ".err" to "--log-error=foo."; it considers a
529+ # trailing "." as an extension
530+ if expr "$err_log" : '.*\.[^/]*$' > /dev/null
531+ then
532+ :
533+ else
534+ err_log="$err_log".err
535+ fi
536+
537+ case "$err_log" in
538+ /* ) ;;
539+ * ) err_log="$DATADIR/$err_log" ;;
540+ esac
541+ else
542+ err_log=$DATADIR/`@HOSTNAME@`.err
543+ fi
544+
545+ append_arg_to_args "--log-error=$err_log"
546+
547+ if [ $want_syslog -eq 1 ]
548+ then
549+ # User explicitly asked for syslog, so warn that it isn't used
550+ log_error "Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect."
551+ fi
552+
553+ # Log to err_log file
554+ log_notice "Logging to '$err_log'."
555+ logging=file
556+else
557+ if [ -n "$syslog_tag" ]
558+ then
559+ # Sanitize the syslog tag
560+ syslog_tag=`echo "$syslog_tag" | sed -e 's/[^a-zA-Z0-9_-]/_/g'`
561+ syslog_tag_mysqld_safe="${syslog_tag_mysqld_safe}-$syslog_tag"
562+ syslog_tag_mysqld="${syslog_tag_mysqld}-$syslog_tag"
563+ fi
564+ log_notice "Logging to syslog."
565+ logging=syslog
566+fi
567+
568+USER_OPTION=""
569+if test -w / -o "$USER" = "root"
570+then
571+ if test "$user" != "root" -o $SET_USER = 1
572+ then
573+ USER_OPTION="--user=$user"
574+ fi
575+ # Change the err log to the right user, if it is in use
576+ if [ $want_syslog -eq 0 ]; then
577+ touch "$err_log"
578+ chown $user "$err_log"
579+ fi
580+ if test -n "$open_files"
581+ then
582+ ulimit -n $open_files
583+ fi
584+fi
585+
586+if test -n "$open_files"
587+then
588+ append_arg_to_args "--open-files-limit=$open_files"
589+fi
590+
591+safe_mysql_unix_port=${mysql_unix_port:-${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}}
592+# Make sure that directory for $safe_mysql_unix_port exists
593+mysql_unix_port_dir=`dirname $safe_mysql_unix_port`
594+if [ ! -d $mysql_unix_port_dir ]
595+then
596+ mkdir $mysql_unix_port_dir
597+ chown $user $mysql_unix_port_dir
598+ chmod 755 $mysql_unix_port_dir
599+fi
600+
601+# If the user doesn't specify a binary, we assume name "mysqld"
602+if test -z "$MYSQLD"
603+then
604+ MYSQLD=mysqld
605+fi
606+
607+if test ! -x "$ledir/$MYSQLD"
608+then
609+ log_error "The file $ledir/$MYSQLD
610+does not exist or is not executable. Please cd to the mysql installation
611+directory and restart this script from there as follows:
612+./bin/mysqld_safe&
613+See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information"
614+ exit 1
615+fi
616+
617+if test -z "$pid_file"
618+then
619+ pid_file="$DATADIR/`@HOSTNAME@`.pid"
620+else
621+ case "$pid_file" in
622+ /* ) ;;
623+ * ) pid_file="$DATADIR/$pid_file" ;;
624+ esac
625+fi
626+append_arg_to_args "--pid-file=$pid_file"
627+
628+if test -n "$mysql_unix_port"
629+then
630+ append_arg_to_args "--socket=$mysql_unix_port"
631+fi
632+if test -n "$mysql_tcp_port"
633+then
634+ append_arg_to_args "--port=$mysql_tcp_port"
635+fi
636+
637+if test $niceness -eq 0
638+then
639+ NOHUP_NICENESS="nohup"
640+else
641+ NOHUP_NICENESS="nohup nice -$niceness"
642+fi
643+
644+# Using nice with no args to get the niceness level is GNU-specific.
645+# This check could be extended for other operating systems (e.g.,
646+# BSD could use "nohup sh -c 'ps -o nice -p $$' | tail -1").
647+# But, it also seems that GNU nohup is the only one which messes
648+# with the priority, so this is okay.
649+if nohup nice > /dev/null 2>&1
650+then
651+ normal_niceness=`nice`
652+ nohup_niceness=`nohup nice 2>/dev/null`
653+
654+ numeric_nice_values=1
655+ for val in $normal_niceness $nohup_niceness
656+ do
657+ case "$val" in
658+ -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | \
659+ [0-9] | [0-9][0-9] | [0-9][0-9][0-9] )
660+ ;;
661+ * )
662+ numeric_nice_values=0 ;;
663+ esac
664+ done
665+
666+ if test $numeric_nice_values -eq 1
667+ then
668+ nice_value_diff=`expr $nohup_niceness - $normal_niceness`
669+ if test $? -eq 0 && test $nice_value_diff -gt 0 && \
670+ nice --$nice_value_diff echo testing > /dev/null 2>&1
671+ then
672+ # nohup increases the priority (bad), and we are permitted
673+ # to lower the priority with respect to the value the user
674+ # might have been given
675+ niceness=`expr $niceness - $nice_value_diff`
676+ NOHUP_NICENESS="nice -$niceness nohup"
677+ fi
678+ fi
679+else
680+ if nohup echo testing > /dev/null 2>&1
681+ then
682+ :
683+ else
684+ # nohup doesn't work on this system
685+ NOHUP_NICENESS=""
686+ fi
687+fi
688+
689+# Try to set the core file size (even if we aren't root) because many systems
690+# don't specify a hard limit on core file size.
691+if test -n "$core_file_size"
692+then
693+ ulimit -c $core_file_size
694+fi
695+
696+#
697+# If there exists an old pid file, check if the daemon is already running
698+# Note: The switches to 'ps' may depend on your operating system
699+if test -f "$pid_file"
700+then
701+ PID=`cat "$pid_file"`
702+ if @CHECK_PID@
703+ then
704+ if @FIND_PROC@
705+ then # The pid contains a mysqld process
706+ log_error "A mysqld process already exists"
707+ exit 1
708+ fi
709+ fi
710+ rm -f "$pid_file"
711+ if test -f "$pid_file"
712+ then
713+ log_error "Fatal error: Can't remove the pid file:
714+$pid_file
715+Please remove it manually and start $0 again;
716+mysqld daemon not started"
717+ exit 1
718+ fi
719+fi
720+
721+#
722+# Uncomment the following lines if you want all tables to be automatically
723+# checked and repaired during startup. You should add sensible key_buffer
724+# and sort_buffer values to my.cnf to improve check performance or require
725+# less disk space.
726+# Alternatively, you can start mysqld with the "myisam-recover" option. See
727+# the manual for details.
728+#
729+# echo "Checking tables in $DATADIR"
730+# $MY_BASEDIR_VERSION/bin/myisamchk --silent --force --fast --medium-check $DATADIR/*/*.MYI
731+# $MY_BASEDIR_VERSION/bin/isamchk --silent --force $DATADIR/*/*.ISM
732+
733+# Does this work on all systems?
734+#if type ulimit | grep "shell builtin" > /dev/null
735+#then
736+# ulimit -n 256 > /dev/null 2>&1 # Fix for BSD and FreeBSD systems
737+#fi
738+
739+cmd="`mysqld_ld_preload_text`$NOHUP_NICENESS"
740+
741+for i in "$ledir/$MYSQLD" "$defaults" "--basedir=$MY_BASEDIR_VERSION" \
742+ "--datadir=$DATADIR" "--plugin-dir=$plugin_dir" "$USER_OPTION"
743+do
744+ cmd="$cmd "`shell_quote_string "$i"`
745+done
746+cmd="$cmd $args"
747+# Avoid 'nohup: ignoring input' warning
748+test -n "$NOHUP_NICENESS" && cmd="$cmd < /dev/null"
749+
750+log_notice "Starting $MYSQLD daemon with databases from $DATADIR"
751+
752+# variable to track the current number of "fast" (a.k.a. subsecond) restarts
753+fast_restart=0
754+# maximum number of restarts before trottling kicks in
755+max_fast_restarts=5
756+# flag whether a usable sleep command exists
757+have_sleep=1
758+
759+while true
760+do
761+ rm -f $safe_mysql_unix_port "$pid_file" # Some extra safety
762+
763+ start_time=`date +%M%S`
764+
765+ eval_log_error "$cmd"
766+
767+ end_time=`date +%M%S`
768+
769+ if test ! -f "$pid_file" # This is removed if normal shutdown
770+ then
771+ break
772+ fi
773+
774+
775+ # sanity check if time reading is sane and there's sleep
776+ if test $end_time -gt 0 -a $have_sleep -gt 0
777+ then
778+ # throttle down the fast restarts
779+ if test $end_time -eq $start_time
780+ then
781+ fast_restart=`expr $fast_restart + 1`
782+ if test $fast_restart -ge $max_fast_restarts
783+ then
784+ log_notice "The server is respawning too fast. Sleeping for 1 second."
785+ sleep 1
786+ sleep_state=$?
787+ if test $sleep_state -gt 0
788+ then
789+ log_notice "The server is respawning too fast and no working sleep command. Turning off trottling."
790+ have_sleep=0
791+ fi
792+
793+ fast_restart=0
794+ fi
795+ else
796+ fast_restart=0
797+ fi
798+ fi
799+
800+ if @TARGET_LINUX@ && test $KILL_MYSQLD -eq 1
801+ then
802+ # Test if one process was hanging.
803+ # This is only a fix for Linux (running as base 3 mysqld processes)
804+ # but should work for the rest of the servers.
805+ # The only thing is ps x => redhat 5 gives warnings when using ps -x.
806+ # kill -9 is used or the process won't react on the kill.
807+ numofproces=`ps xaww | grep -v "grep" | grep "$ledir/$MYSQLD\>" | grep -c "pid-file=$pid_file"`
808+
809+ log_notice "Number of processes running now: $numofproces"
810+ I=1
811+ while test "$I" -le "$numofproces"
812+ do
813+ PROC=`ps xaww | grep "$ledir/$MYSQLD\>" | grep -v "grep" | grep "pid-file=$pid_file" | sed -n '$p'`
814+
815+ for T in $PROC
816+ do
817+ break
818+ done
819+ # echo "TEST $I - $T **"
820+ if kill -9 $T
821+ then
822+ log_error "$MYSQLD process hanging, pid $T - killed"
823+ else
824+ break
825+ fi
826+ I=`expr $I + 1`
827+ done
828+ fi
829+ log_notice "mysqld restarted"
830+done
831+
832+log_notice "mysqld from pid file $pid_file ended"
833+
834
835=== added directory '.pc/62_disable_tests.patch'
836=== renamed directory '.pc/62_disable_tests.patch' => '.pc/62_disable_tests.patch.moved'
837=== added file '.pc/62_disable_tests.patch/.timestamp'
838=== added directory '.pc/62_disable_tests.patch/mysql-test'
839=== added directory '.pc/62_disable_tests.patch/mysql-test/t'
840=== added file '.pc/62_disable_tests.patch/mysql-test/t/disabled.def'
841--- .pc/62_disable_tests.patch/mysql-test/t/disabled.def 1970-01-01 00:00:00 +0000
842+++ .pc/62_disable_tests.patch/mysql-test/t/disabled.def 2012-03-30 01:16:23 +0000
843@@ -0,0 +1,17 @@
844+##############################################################################
845+#
846+# List the test cases that are to be disabled temporarily.
847+#
848+# Separate the test case name and the comment with ':'.
849+#
850+# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
851+#
852+# Do not use any TAB characters for whitespace.
853+#
854+##############################################################################
855+lowercase_table3 : Bug#11762269 2010-06-30 alik main.lowercase_table3 on Mac OSX
856+read_many_rows_innodb : Bug#11748886 2010-11-15 mattiasj report already exists
857+sum_distinct-big : Bug#11764126 2010-11-15 mattiasj was not tested
858+archive-big : Bug#11817185 2011-03-10 Anitha Disabled since this leads to timeout on Solaris Sparc
859+log_tables-big : Bug#11756699 2010-11-15 mattiasj report already exists
860+mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 changes - eventum#41836
861
862=== added directory '.pc/70_mysql_va_list.patch'
863=== renamed directory '.pc/70_mysql_va_list.patch' => '.pc/70_mysql_va_list.patch.moved'
864=== added file '.pc/70_mysql_va_list.patch/.timestamp'
865=== added directory '.pc/70_mysql_va_list.patch/sql-common'
866=== added file '.pc/70_mysql_va_list.patch/sql-common/client_plugin.c'
867--- .pc/70_mysql_va_list.patch/sql-common/client_plugin.c 1970-01-01 00:00:00 +0000
868+++ .pc/70_mysql_va_list.patch/sql-common/client_plugin.c 2012-03-30 01:16:23 +0000
869@@ -0,0 +1,472 @@
870+/* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
871+
872+ This program is free software; you can redistribute it and/or modify
873+ it under the terms of the GNU General Public License as published by
874+ the Free Software Foundation; version 2 of the License.
875+
876+ This program is distributed in the hope that it will be useful,
877+ but WITHOUT ANY WARRANTY; without even the implied warranty of
878+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
879+ GNU General Public License for more details.
880+
881+ You should have received a copy of the GNU General Public License
882+ along with this program; if not, write to the Free Software
883+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
884+
885+/**
886+ @file
887+
888+ Support code for the client side (libmysql) plugins
889+
890+ Client plugins are somewhat different from server plugins, they are simpler.
891+
892+ They do not need to be installed or in any way explicitly loaded on the
893+ client, they are loaded automatically on demand.
894+ One client plugin per shared object, soname *must* match the plugin name.
895+
896+ There is no reference counting and no unloading either.
897+*/
898+
899+#include <my_global.h>
900+#include "mysql.h"
901+#include <my_sys.h>
902+#include <m_string.h>
903+#include <my_pthread.h>
904+
905+#include <sql_common.h>
906+#include "errmsg.h"
907+#include <mysql/client_plugin.h>
908+
909+struct st_client_plugin_int {
910+ struct st_client_plugin_int *next;
911+ void *dlhandle;
912+ struct st_mysql_client_plugin *plugin;
913+};
914+
915+static my_bool initialized= 0;
916+static MEM_ROOT mem_root;
917+
918+static const char *plugin_declarations_sym= "_mysql_client_plugin_declaration_";
919+static uint plugin_version[MYSQL_CLIENT_MAX_PLUGINS]=
920+{
921+ 0, /* these two are taken by Connector/C */
922+ 0, /* these two are taken by Connector/C */
923+ MYSQL_CLIENT_AUTHENTICATION_PLUGIN_INTERFACE_VERSION
924+};
925+
926+/*
927+ Loaded plugins are stored in a linked list.
928+ The list is append-only, the elements are added to the head (like in a stack).
929+ The elements are added under a mutex, but the list can be read and traversed
930+ without any mutex because once an element is added to the list, it stays
931+ there. The main purpose of a mutex is to prevent two threads from
932+ loading the same plugin twice in parallel.
933+*/
934+struct st_client_plugin_int *plugin_list[MYSQL_CLIENT_MAX_PLUGINS];
935+static pthread_mutex_t LOCK_load_client_plugin;
936+
937+static int is_not_initialized(MYSQL *mysql, const char *name)
938+{
939+ if (initialized)
940+ return 0;
941+
942+ set_mysql_extended_error(mysql, CR_AUTH_PLUGIN_CANNOT_LOAD,
943+ unknown_sqlstate, ER(CR_AUTH_PLUGIN_CANNOT_LOAD),
944+ name, "not initialized");
945+ return 1;
946+}
947+
948+/**
949+ finds a plugin in the list
950+
951+ @param name plugin name to search for
952+ @param type plugin type
953+
954+ @note this does NOT necessarily need a mutex, take care!
955+
956+ @retval a pointer to a found plugin or 0
957+*/
958+static struct st_mysql_client_plugin *
959+find_plugin(const char *name, int type)
960+{
961+ struct st_client_plugin_int *p;
962+
963+ DBUG_ASSERT(initialized);
964+ DBUG_ASSERT(type >= 0 && type < MYSQL_CLIENT_MAX_PLUGINS);
965+ if (type < 0 || type >= MYSQL_CLIENT_MAX_PLUGINS)
966+ return 0;
967+
968+ for (p= plugin_list[type]; p; p= p->next)
969+ {
970+ if (strcmp(p->plugin->name, name) == 0)
971+ return p->plugin;
972+ }
973+ return NULL;
974+}
975+
976+/**
977+ verifies the plugin and adds it to the list
978+
979+ @param mysql MYSQL structure (for error reporting)
980+ @param plugin plugin to install
981+ @param dlhandle a handle to the shared object (returned by dlopen)
982+ or 0 if the plugin was not dynamically loaded
983+ @param argc number of arguments in the 'va_list args'
984+ @param args arguments passed to the plugin initialization function
985+
986+ @retval a pointer to an installed plugin or 0
987+*/
988+static struct st_mysql_client_plugin *
989+add_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin, void *dlhandle,
990+ int argc, va_list args)
991+{
992+ const char *errmsg;
993+ struct st_client_plugin_int plugin_int, *p;
994+ char errbuf[1024];
995+
996+ DBUG_ASSERT(initialized);
997+
998+ plugin_int.plugin= plugin;
999+ plugin_int.dlhandle= dlhandle;
1000+
1001+ if (plugin->type >= MYSQL_CLIENT_MAX_PLUGINS)
1002+ {
1003+ errmsg= "Unknown client plugin type";
1004+ goto err1;
1005+ }
1006+
1007+ if (plugin->interface_version < plugin_version[plugin->type] ||
1008+ (plugin->interface_version >> 8) >
1009+ (plugin_version[plugin->type] >> 8))
1010+ {
1011+ errmsg= "Incompatible client plugin interface";
1012+ goto err1;
1013+ }
1014+
1015+ /* Call the plugin initialization function, if any */
1016+ if (plugin->init && plugin->init(errbuf, sizeof(errbuf), argc, args))
1017+ {
1018+ errmsg= errbuf;
1019+ goto err1;
1020+ }
1021+
1022+ p= (struct st_client_plugin_int *)
1023+ memdup_root(&mem_root, &plugin_int, sizeof(plugin_int));
1024+
1025+ if (!p)
1026+ {
1027+ errmsg= "Out of memory";
1028+ goto err2;
1029+ }
1030+
1031+ safe_mutex_assert_owner(&LOCK_load_client_plugin);
1032+
1033+ p->next= plugin_list[plugin->type];
1034+ plugin_list[plugin->type]= p;
1035+ net_clear_error(&mysql->net);
1036+
1037+ return plugin;
1038+
1039+err2:
1040+ if (plugin->deinit)
1041+ plugin->deinit();
1042+err1:
1043+ set_mysql_extended_error(mysql, CR_AUTH_PLUGIN_CANNOT_LOAD, unknown_sqlstate,
1044+ ER(CR_AUTH_PLUGIN_CANNOT_LOAD), plugin->name,
1045+ errmsg);
1046+ if (dlhandle)
1047+ dlclose(dlhandle);
1048+ return NULL;
1049+}
1050+
1051+/**
1052+ Loads plugins which are specified in the environment variable
1053+ LIBMYSQL_PLUGINS.
1054+
1055+ Multiple plugins must be separated by semicolon. This function doesn't
1056+ return or log an error.
1057+
1058+ The function is be called by mysql_client_plugin_init
1059+
1060+ @todo
1061+ Support extended syntax, passing parameters to plugins, for example
1062+ LIBMYSQL_PLUGINS="plugin1(param1,param2);plugin2;..."
1063+ or
1064+ LIBMYSQL_PLUGINS="plugin1=int:param1,str:param2;plugin2;..."
1065+*/
1066+static void load_env_plugins(MYSQL *mysql)
1067+{
1068+ char *plugs, *free_env, *s= getenv("LIBMYSQL_PLUGINS");
1069+
1070+ /* no plugins to load */
1071+ if(!s)
1072+ return;
1073+
1074+ free_env= plugs= my_strdup(s, MYF(MY_WME));
1075+
1076+ do {
1077+ if ((s= strchr(plugs, ';')))
1078+ *s= '\0';
1079+ mysql_load_plugin(mysql, plugs, -1, 0);
1080+ plugs= s + 1;
1081+ } while (s);
1082+
1083+ my_free(free_env);
1084+}
1085+
1086+/********** extern functions to be used by libmysql *********************/
1087+
1088+/**
1089+ Initializes the client plugin layer.
1090+
1091+ This function must be called before any other client plugin function.
1092+
1093+ @retval 0 successful
1094+ @retval != 0 error occured
1095+*/
1096+int mysql_client_plugin_init()
1097+{
1098+ MYSQL mysql;
1099+ struct st_mysql_client_plugin **builtin;
1100+
1101+ if (initialized)
1102+ return 0;
1103+
1104+ bzero(&mysql, sizeof(mysql)); /* dummy mysql for set_mysql_extended_error */
1105+
1106+ pthread_mutex_init(&LOCK_load_client_plugin, MY_MUTEX_INIT_SLOW);
1107+ init_alloc_root(&mem_root, 128, 128);
1108+
1109+ bzero(&plugin_list, sizeof(plugin_list));
1110+
1111+ initialized= 1;
1112+
1113+ pthread_mutex_lock(&LOCK_load_client_plugin);
1114+
1115+ for (builtin= mysql_client_builtins; *builtin; builtin++)
1116+ add_plugin(&mysql, *builtin, 0, 0, 0);
1117+
1118+ pthread_mutex_unlock(&LOCK_load_client_plugin);
1119+
1120+ load_env_plugins(&mysql);
1121+
1122+ return 0;
1123+}
1124+
1125+/**
1126+ Deinitializes the client plugin layer.
1127+
1128+ Unloades all client plugins and frees any associated resources.
1129+*/
1130+void mysql_client_plugin_deinit()
1131+{
1132+ int i;
1133+ struct st_client_plugin_int *p;
1134+
1135+ if (!initialized)
1136+ return;
1137+
1138+ for (i=0; i < MYSQL_CLIENT_MAX_PLUGINS; i++)
1139+ for (p= plugin_list[i]; p; p= p->next)
1140+ {
1141+ if (p->plugin->deinit)
1142+ p->plugin->deinit();
1143+ if (p->dlhandle)
1144+ dlclose(p->dlhandle);
1145+ }
1146+
1147+ bzero(&plugin_list, sizeof(plugin_list));
1148+ initialized= 0;
1149+ free_root(&mem_root, MYF(0));
1150+ pthread_mutex_destroy(&LOCK_load_client_plugin);
1151+}
1152+
1153+/************* public facing functions, for client consumption *********/
1154+
1155+/* see <mysql/client_plugin.h> for a full description */
1156+struct st_mysql_client_plugin *
1157+mysql_client_register_plugin(MYSQL *mysql,
1158+ struct st_mysql_client_plugin *plugin)
1159+{
1160+ if (is_not_initialized(mysql, plugin->name))
1161+ return NULL;
1162+
1163+ pthread_mutex_lock(&LOCK_load_client_plugin);
1164+
1165+ /* make sure the plugin wasn't loaded meanwhile */
1166+ if (find_plugin(plugin->name, plugin->type))
1167+ {
1168+ set_mysql_extended_error(mysql, CR_AUTH_PLUGIN_CANNOT_LOAD,
1169+ unknown_sqlstate, ER(CR_AUTH_PLUGIN_CANNOT_LOAD),
1170+ plugin->name, "it is already loaded");
1171+ plugin= NULL;
1172+ }
1173+ else
1174+ plugin= add_plugin(mysql, plugin, 0, 0, 0);
1175+
1176+ pthread_mutex_unlock(&LOCK_load_client_plugin);
1177+ return plugin;
1178+}
1179+
1180+/* see <mysql/client_plugin.h> for a full description */
1181+struct st_mysql_client_plugin *
1182+mysql_load_plugin_v(MYSQL *mysql, const char *name, int type,
1183+ int argc, va_list args)
1184+{
1185+ const char *errmsg;
1186+ char dlpath[FN_REFLEN+1];
1187+ void *sym, *dlhandle;
1188+ struct st_mysql_client_plugin *plugin;
1189+#ifdef _WIN32
1190+ char win_errormsg[2048];
1191+#endif
1192+
1193+ DBUG_ENTER ("mysql_load_plugin_v");
1194+ DBUG_PRINT ("entry", ("name=%s type=%d int argc=%d", name, type, argc));
1195+ if (is_not_initialized(mysql, name))
1196+ {
1197+ DBUG_PRINT ("leave", ("mysql not initialized"));
1198+ DBUG_RETURN (NULL);
1199+ }
1200+
1201+ pthread_mutex_lock(&LOCK_load_client_plugin);
1202+
1203+ /* make sure the plugin wasn't loaded meanwhile */
1204+ if (type >= 0 && find_plugin(name, type))
1205+ {
1206+ errmsg= "it is already loaded";
1207+ goto err;
1208+ }
1209+
1210+ /* Compile dll path */
1211+ strxnmov(dlpath, sizeof(dlpath) - 1,
1212+ mysql->options.extension && mysql->options.extension->plugin_dir ?
1213+ mysql->options.extension->plugin_dir : PLUGINDIR, "/",
1214+ name, SO_EXT, NullS);
1215+
1216+ DBUG_PRINT ("info", ("dlopeninig %s", dlpath));
1217+ /* Open new dll handle */
1218+ if (!(dlhandle= dlopen(dlpath, RTLD_NOW)))
1219+ {
1220+#if defined(__APPLE__)
1221+ /* Apple supports plugins with .so also, so try this as well */
1222+ strxnmov(dlpath, sizeof(dlpath) - 1,
1223+ mysql->options.extension && mysql->options.extension->plugin_dir ?
1224+ mysql->options.extension->plugin_dir : PLUGINDIR, "/",
1225+ name, ".so", NullS);
1226+ if ((dlhandle= dlopen(dlpath, RTLD_NOW)))
1227+ goto have_plugin;
1228+#endif
1229+
1230+ DBUG_PRINT ("info", ("failed to dlopen"));
1231+#ifdef _WIN32
1232+ if(FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
1233+ 0, GetLastError(), 0, win_errormsg, 2048, NULL))
1234+ errmsg= win_errormsg;
1235+ else
1236+ errmsg= "";
1237+#else
1238+ errmsg= dlerror();
1239+#endif
1240+ goto err;
1241+ }
1242+
1243+#if defined(__APPLE__)
1244+have_plugin:
1245+#endif
1246+ if (!(sym= dlsym(dlhandle, plugin_declarations_sym)))
1247+ {
1248+ errmsg= "not a plugin";
1249+ dlclose(dlhandle);
1250+ goto err;
1251+ }
1252+
1253+ plugin= (struct st_mysql_client_plugin*)sym;
1254+
1255+ if (type >=0 && type != plugin->type)
1256+ {
1257+ errmsg= "type mismatch";
1258+ goto err;
1259+ }
1260+
1261+ if (strcmp(name, plugin->name))
1262+ {
1263+ errmsg= "name mismatch";
1264+ goto err;
1265+ }
1266+
1267+ if (type < 0 && find_plugin(name, plugin->type))
1268+ {
1269+ errmsg= "it is already loaded";
1270+ goto err;
1271+ }
1272+
1273+ plugin= add_plugin(mysql, plugin, dlhandle, argc, args);
1274+
1275+ pthread_mutex_unlock(&LOCK_load_client_plugin);
1276+
1277+ DBUG_PRINT ("leave", ("plugin loaded ok"));
1278+ DBUG_RETURN (plugin);
1279+
1280+err:
1281+ pthread_mutex_unlock(&LOCK_load_client_plugin);
1282+ DBUG_PRINT ("leave", ("plugin load error : %s", errmsg));
1283+ set_mysql_extended_error(mysql, CR_AUTH_PLUGIN_CANNOT_LOAD, unknown_sqlstate,
1284+ ER(CR_AUTH_PLUGIN_CANNOT_LOAD), name, errmsg);
1285+ DBUG_RETURN (NULL);
1286+}
1287+
1288+/* see <mysql/client_plugin.h> for a full description */
1289+struct st_mysql_client_plugin *
1290+mysql_load_plugin(MYSQL *mysql, const char *name, int type, int argc, ...)
1291+{
1292+ struct st_mysql_client_plugin *p;
1293+ va_list args;
1294+ va_start(args, argc);
1295+ p= mysql_load_plugin_v(mysql, name, type, argc, args);
1296+ va_end(args);
1297+ return p;
1298+}
1299+
1300+/* see <mysql/client_plugin.h> for a full description */
1301+struct st_mysql_client_plugin *
1302+mysql_client_find_plugin(MYSQL *mysql, const char *name, int type)
1303+{
1304+ struct st_mysql_client_plugin *p;
1305+
1306+ DBUG_ENTER ("mysql_client_find_plugin");
1307+ DBUG_PRINT ("entry", ("name=%s, type=%d", name, type));
1308+ if (is_not_initialized(mysql, name))
1309+ DBUG_RETURN (NULL);
1310+
1311+ if (type < 0 || type >= MYSQL_CLIENT_MAX_PLUGINS)
1312+ {
1313+ set_mysql_extended_error(mysql, CR_AUTH_PLUGIN_CANNOT_LOAD, unknown_sqlstate,
1314+ ER(CR_AUTH_PLUGIN_CANNOT_LOAD), name,
1315+ "invalid type");
1316+ }
1317+
1318+ if ((p= find_plugin(name, type)))
1319+ {
1320+ DBUG_PRINT ("leave", ("found %p", p));
1321+ DBUG_RETURN (p);
1322+ }
1323+
1324+ /* not found, load it */
1325+ p= mysql_load_plugin(mysql, name, type, 0);
1326+ DBUG_PRINT ("leave", ("loaded %p", p));
1327+ DBUG_RETURN (p);
1328+}
1329+
1330+
1331+/* see <mysql/client_plugin.h> for a full description */
1332+int mysql_plugin_options(struct st_mysql_client_plugin *plugin,
1333+ const char *option,
1334+ const void *value)
1335+{
1336+ DBUG_ENTER("mysql_plugin_options");
1337+ /* does the plugin support options call? */
1338+ if (!plugin || !plugin->options)
1339+ DBUG_RETURN(1);
1340+ DBUG_RETURN(plugin->options(option, value));
1341+}
1342
1343=== added directory '.pc/71_disable_rpl_tests.patch'
1344=== renamed directory '.pc/71_disable_rpl_tests.patch' => '.pc/71_disable_rpl_tests.patch.moved'
1345=== added file '.pc/71_disable_rpl_tests.patch/.timestamp'
1346=== added directory '.pc/71_disable_rpl_tests.patch/mysql-test'
1347=== added directory '.pc/71_disable_rpl_tests.patch/mysql-test/suite'
1348=== added directory '.pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl'
1349=== added directory '.pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl/t'
1350=== added file '.pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl/t/disabled.def'
1351--- .pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl/t/disabled.def 1970-01-01 00:00:00 +0000
1352+++ .pc/71_disable_rpl_tests.patch/mysql-test/suite/rpl/t/disabled.def 2012-03-30 01:16:23 +0000
1353@@ -0,0 +1,17 @@
1354+##############################################################################
1355+#
1356+# List the test cases that are to be disabled temporarily.
1357+#
1358+# Separate the test case name and the comment with ':'.
1359+#
1360+# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
1361+#
1362+# Do not use any TAB characters for whitespace.
1363+#
1364+##############################################################################
1365+
1366+rpl_row_create_table : Bug#11759274 2010-02-27 andrei failed different way than earlier with bug#45576
1367+rpl_spec_variables : BUG#11755836 2009-10-27 jasonh rpl_spec_variables fails on PB2 hpux
1368+rpl_get_master_version_and_clock : Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
1369+rpl_row_until : BUG#59543 Jan 26 2011 alfranio Replication test from eits suite rpl_row_until times out
1370+rpl_stm_until : BUG#59543 Jan 26 2011 alfranio Replication test from eits suite rpl_row_until times out
1371
1372=== added directory '.pc/72_fix_standalone_tests.patch'
1373=== renamed directory '.pc/72_fix_standalone_tests.patch' => '.pc/72_fix_standalone_tests.patch.moved'
1374=== added file '.pc/72_fix_standalone_tests.patch/.timestamp'
1375=== added directory '.pc/72_fix_standalone_tests.patch/mysql-test'
1376=== added directory '.pc/72_fix_standalone_tests.patch/mysql-test/lib'
1377=== added file '.pc/72_fix_standalone_tests.patch/mysql-test/lib/mtr_cases.pm'
1378--- .pc/72_fix_standalone_tests.patch/mysql-test/lib/mtr_cases.pm 1970-01-01 00:00:00 +0000
1379+++ .pc/72_fix_standalone_tests.patch/mysql-test/lib/mtr_cases.pm 2012-03-30 01:16:23 +0000
1380@@ -0,0 +1,1265 @@
1381+# -*- cperl -*-
1382+# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
1383+#
1384+# This program is free software; you can redistribute it and/or modify
1385+# it under the terms of the GNU General Public License as published by
1386+# the Free Software Foundation; version 2 of the License.
1387+#
1388+# This program is distributed in the hope that it will be useful,
1389+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1390+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1391+# GNU General Public License for more details.
1392+#
1393+# You should have received a copy of the GNU General Public License
1394+# along with this program; if not, write to the Free Software
1395+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1396+
1397+# This is a library file used by the Perl version of mysql-test-run,
1398+# and is part of the translation of the Bourne shell script with the
1399+# same name.
1400+
1401+package mtr_cases;
1402+use strict;
1403+
1404+use base qw(Exporter);
1405+our @EXPORT= qw(collect_option collect_test_cases);
1406+
1407+use mtr_report;
1408+use mtr_match;
1409+
1410+# Options used for the collect phase
1411+our $start_from;
1412+our $print_testcases;
1413+our $skip_rpl;
1414+our $do_test;
1415+our $skip_test;
1416+our $skip_combinations;
1417+our $binlog_format;
1418+our $enable_disabled;
1419+our $default_storage_engine;
1420+our $opt_with_ndbcluster_only;
1421+our $defaults_file;
1422+our $defaults_extra_file;
1423+our $quick_collect;
1424+# Set to 1 if you want the tests to override
1425+# default storage engine settings, and use MyISAM
1426+# as default. (temporary option used in connection
1427+# with the change of default storage engine to InnoDB)
1428+our $default_myisam= 1;
1429+
1430+
1431+sub collect_option {
1432+ my ($opt, $value)= @_;
1433+
1434+ # Evaluate $opt as string to use "Getopt::Long::Callback legacy API"
1435+ my $opt_name = "$opt";
1436+
1437+ # Convert - to _ in option name
1438+ $opt_name =~ s/-/_/g;
1439+ no strict 'refs';
1440+ ${$opt_name}= $value;
1441+}
1442+
1443+use File::Basename;
1444+use File::Spec::Functions qw / splitdir /;
1445+use IO::File();
1446+use My::Config;
1447+use My::Platform;
1448+use My::Test;
1449+use My::Find;
1450+
1451+require "mtr_misc.pl";
1452+
1453+# Precompiled regex's for tests to do or skip
1454+my $do_test_reg;
1455+my $skip_test_reg;
1456+
1457+# Related to adding InnoDB plugin combinations
1458+my $lib_innodb_plugin;
1459+my $do_innodb_plugin;
1460+
1461+# If "Quick collect", set to 1 once a test to run has been found.
1462+my $some_test_found;
1463+
1464+sub init_pattern {
1465+ my ($from, $what)= @_;
1466+ return undef unless defined $from;
1467+ if ( $from =~ /^[a-z0-9\.]*$/ ) {
1468+ # Does not contain any regex (except . that we allow as
1469+ # separator betwen suite and testname), make the pattern match
1470+ # beginning of string
1471+ $from= "^$from";
1472+ mtr_verbose("$what='$from'");
1473+ }
1474+ # Check that pattern is a valid regex
1475+ eval { "" =~/$from/; 1 } or
1476+ mtr_error("Invalid regex '$from' passed to $what\nPerl says: $@");
1477+ return $from;
1478+}
1479+
1480+
1481+##############################################################################
1482+#
1483+# Collect information about test cases to be run
1484+#
1485+##############################################################################
1486+
1487+sub collect_test_cases ($$$$) {
1488+ my $opt_reorder= shift; # True if we're reordering tests
1489+ my $suites= shift; # Semicolon separated list of test suites
1490+ my $opt_cases= shift;
1491+ my $opt_skip_test_list= shift;
1492+ my $cases= []; # Array of hash(one hash for each testcase)
1493+
1494+ # Unit tests off by default also if using --do-test or --start-from
1495+ $::opt_ctest= 0 if $::opt_ctest == -1 && ($do_test || $start_from);
1496+
1497+ $do_test_reg= init_pattern($do_test, "--do-test");
1498+ $skip_test_reg= init_pattern($skip_test, "--skip-test");
1499+
1500+ $lib_innodb_plugin=
1501+ my_find_file($::basedir,
1502+ ["storage/innodb_plugin", "storage/innodb_plugin/.libs",
1503+ "lib/mysql/plugin", "lib/plugin"],
1504+ ["ha_innodb_plugin.dll", "ha_innodb_plugin.so",
1505+ "ha_innodb_plugin.sl"],
1506+ NOT_REQUIRED);
1507+ $do_innodb_plugin= ($::mysql_version_id >= 50100 &&
1508+ !(IS_WINDOWS && $::opt_embedded_server) &&
1509+ $lib_innodb_plugin);
1510+
1511+ # If not reordering, we also shouldn't group by suites, unless
1512+ # no test cases were named.
1513+ # This also effects some logic in the loop following this.
1514+ if ($opt_reorder or !@$opt_cases)
1515+ {
1516+ foreach my $suite (split(",", $suites))
1517+ {
1518+ push(@$cases, collect_one_suite($suite, $opt_cases, $opt_skip_test_list));
1519+ last if $some_test_found;
1520+ }
1521+ }
1522+
1523+ if ( @$opt_cases )
1524+ {
1525+ # A list of tests was specified on the command line
1526+ # Check that the tests specified was found
1527+ # in at least one suite
1528+ foreach my $test_name_spec ( @$opt_cases )
1529+ {
1530+ my $found= 0;
1531+ my ($sname, $tname, $extension)= split_testname($test_name_spec);
1532+ foreach my $test ( @$cases )
1533+ {
1534+ last unless $opt_reorder;
1535+ # test->{name} is always in suite.name format
1536+ if ( $test->{name} =~ /^$sname.*\.$tname$/ )
1537+ {
1538+ $found= 1;
1539+ last;
1540+ }
1541+ }
1542+ if ( not $found )
1543+ {
1544+ $sname= "main" if !$opt_reorder and !$sname;
1545+ mtr_error("Could not find '$tname' in '$suites' suite(s)") unless $sname;
1546+ # If suite was part of name, find it there, may come with combinations
1547+ my @this_case = collect_one_suite($sname, [ $tname ]);
1548+ if (@this_case)
1549+ {
1550+ push (@$cases, @this_case);
1551+ }
1552+ else
1553+ {
1554+ mtr_error("Could not find '$tname' in '$sname' suite");
1555+ }
1556+ }
1557+ }
1558+ }
1559+
1560+ if ( $opt_reorder && !$quick_collect)
1561+ {
1562+ # Reorder the test cases in an order that will make them faster to run
1563+ # Make a mapping of test name to a string that represents how that test
1564+ # should be sorted among the other tests. Put the most important criterion
1565+ # first, then a sub-criterion, then sub-sub-criterion, etc.
1566+ foreach my $tinfo (@$cases)
1567+ {
1568+ my @criteria = ();
1569+
1570+ #
1571+ # Append the criteria for sorting, in order of importance.
1572+ #
1573+ push(@criteria, "ndb=" . ($tinfo->{'ndb_test'} ? "A" : "B"));
1574+ push(@criteria, $tinfo->{template_path});
1575+ # Group test with equal options together.
1576+ # Ending with "~" makes empty sort later than filled
1577+ my $opts= $tinfo->{'master_opt'} ? $tinfo->{'master_opt'} : [];
1578+ push(@criteria, join("!", sort @{$opts}) . "~");
1579+ # Add slave opts if any
1580+ if ($tinfo->{'slave_opt'})
1581+ {
1582+ push(@criteria, join("!", sort @{$tinfo->{'slave_opt'}}));
1583+ }
1584+ # This sorts tests with force-restart *before* identical tests
1585+ push(@criteria, $tinfo->{force_restart} ? "force-restart" : "no-restart");
1586+
1587+ $tinfo->{criteria}= join(" ", @criteria);
1588+ }
1589+
1590+ @$cases = sort {$a->{criteria} cmp $b->{criteria}; } @$cases;
1591+
1592+ # For debugging the sort-order
1593+ # foreach my $tinfo (@$cases)
1594+ # {
1595+ # my $tname= $tinfo->{name} . ' ' . $tinfo->{combination};
1596+ # my $crit= $tinfo->{criteria};
1597+ # print("$tname\n\t$crit\n");
1598+ # }
1599+ }
1600+
1601+ if (defined $print_testcases){
1602+ print_testcases(@$cases);
1603+ exit(1);
1604+ }
1605+
1606+ return $cases;
1607+
1608+}
1609+
1610+
1611+# Returns (suitename, testname, extension)
1612+sub split_testname {
1613+ my ($test_name)= @_;
1614+
1615+ # If .test file name is used, get rid of directory part
1616+ $test_name= basename($test_name) if $test_name =~ /\.test$/;
1617+
1618+ # Now split name on .'s
1619+ my @parts= split(/\./, $test_name);
1620+
1621+ if (@parts == 1){
1622+ # Only testname given, ex: alias
1623+ return (undef , $parts[0], undef);
1624+ } elsif (@parts == 2) {
1625+ # Either testname.test or suite.testname given
1626+ # Ex. main.alias or alias.test
1627+
1628+ if ($parts[1] eq "test")
1629+ {
1630+ return (undef , $parts[0], $parts[1]);
1631+ }
1632+ else
1633+ {
1634+ return ($parts[0], $parts[1], undef);
1635+ }
1636+
1637+ } elsif (@parts == 3) {
1638+ # Fully specified suitename.testname.test
1639+ # ex main.alias.test
1640+ return ( $parts[0], $parts[1], $parts[2]);
1641+ }
1642+
1643+ mtr_error("Illegal format of test name: $test_name");
1644+}
1645+
1646+
1647+sub collect_one_suite($)
1648+{
1649+ my $suite= shift; # Test suite name
1650+ my $opt_cases= shift;
1651+ my $opt_skip_test_list= shift;
1652+ my @cases; # Array of hash
1653+
1654+ mtr_verbose("Collecting: $suite");
1655+
1656+ my $suitedir= "$::glob_mysql_test_dir"; # Default
1657+ if ( $suite ne "main" )
1658+ {
1659+ # Allow suite to be path to "some dir" if $suite has at least
1660+ # one directory part
1661+ if ( -d $suite and splitdir($suite) > 1 ){
1662+ $suitedir= $suite;
1663+ mtr_report(" - from '$suitedir'");
1664+
1665+ }
1666+ else
1667+ {
1668+ $suitedir= my_find_dir($::basedir,
1669+ ["share/mysql-test/suite",
1670+ "mysql-test/suite",
1671+ "mysql-test",
1672+ # Look in storage engine specific suite dirs
1673+ "storage/*/mtr",
1674+ # Look in plugin specific suite dir
1675+ "plugin/$suite/tests",
1676+ ],
1677+ [$suite, "mtr"]);
1678+ }
1679+ mtr_verbose("suitedir: $suitedir");
1680+ }
1681+
1682+ my $testdir= "$suitedir/t";
1683+ my $resdir= "$suitedir/r";
1684+
1685+ # Check if t/ exists
1686+ if (-d $testdir){
1687+ # t/ exists
1688+
1689+ if ( -d $resdir )
1690+ {
1691+ # r/exists
1692+ }
1693+ else
1694+ {
1695+ # No r/, use t/ as result dir
1696+ $resdir= $testdir;
1697+ }
1698+
1699+ }
1700+ else {
1701+ # No t/ dir => there can' be any r/ dir
1702+ mtr_error("Can't have r/ dir without t/") if -d $resdir;
1703+
1704+ # No t/ or r/ => use suitedir
1705+ $resdir= $testdir= $suitedir;
1706+ }
1707+
1708+ mtr_verbose("testdir: $testdir");
1709+ mtr_verbose("resdir: $resdir");
1710+
1711+ # ----------------------------------------------------------------------
1712+ # Build a hash of disabled testcases for this suite
1713+ # ----------------------------------------------------------------------
1714+ my %disabled;
1715+ my @disabled_collection= @{$opt_skip_test_list} if defined @{$opt_skip_test_list};
1716+ unshift (@disabled_collection, "$testdir/disabled.def");
1717+ for my $skip (@disabled_collection)
1718+ {
1719+ if ( open(DISABLED, $skip ) )
1720+ {
1721+ # $^O on Windows considered not generic enough
1722+ my $plat= (IS_WINDOWS) ? 'windows' : $^O;
1723+
1724+ while ( <DISABLED> )
1725+ {
1726+ chomp;
1727+ #diasble the test case if platform matches
1728+ if ( /\@/ )
1729+ {
1730+ if ( /\@$plat/ )
1731+ {
1732+ /^\s*(\S+)\s*\@$plat.*:\s*(.*?)\s*$/ ;
1733+ $disabled{$1}= $2 if not exists $disabled{$1};
1734+ }
1735+ elsif ( /\@!(\S*)/ )
1736+ {
1737+ if ( $1 ne $plat)
1738+ {
1739+ /^\s*(\S+)\s*\@!.*:\s*(.*?)\s*$/ ;
1740+ $disabled{$1}= $2 if not exists $disabled{$1};
1741+ }
1742+ }
1743+ }
1744+ elsif ( /^\s*(\S+)\s*:\s*(.*?)\s*$/ )
1745+ {
1746+ chomp;
1747+ if ( /^\s*(\S+)\s*:\s*(.*?)\s*$/ )
1748+ {
1749+ $disabled{$1}= $2 if not exists $disabled{$1};
1750+ }
1751+ }
1752+ }
1753+ close DISABLED;
1754+ }
1755+ }
1756+
1757+ # Read suite.opt file
1758+ my $suite_opt_file= "$testdir/suite.opt";
1759+ my $suite_opts= [];
1760+ if ( -f $suite_opt_file )
1761+ {
1762+ $suite_opts= opts_from_file($suite_opt_file);
1763+ }
1764+
1765+ if ( @$opt_cases )
1766+ {
1767+ # Collect in specified order
1768+ foreach my $test_name_spec ( @$opt_cases )
1769+ {
1770+ my ($sname, $tname, $extension)= split_testname($test_name_spec);
1771+
1772+ # The test name parts have now been defined
1773+ #print " suite_name: $sname\n";
1774+ #print " tname: $tname\n";
1775+ #print " extension: $extension\n";
1776+
1777+ # Check cirrect suite if suitename is defined
1778+ next if (defined $sname and $suite ne $sname);
1779+
1780+ if ( defined $extension )
1781+ {
1782+ my $full_name= "$testdir/$tname.$extension";
1783+ # Extension was specified, check if the test exists
1784+ if ( ! -f $full_name)
1785+ {
1786+ # This is only an error if suite was specified, otherwise it
1787+ # could exist in another suite
1788+ mtr_error("Test '$full_name' was not found in suite '$sname'")
1789+ if $sname;
1790+
1791+ next;
1792+ }
1793+ }
1794+ else
1795+ {
1796+ # No extension was specified, use default
1797+ $extension= "test";
1798+ my $full_name= "$testdir/$tname.$extension";
1799+
1800+ # Test not found here, could exist in other suite
1801+ next if ( ! -f $full_name );
1802+ }
1803+
1804+ push(@cases,
1805+ collect_one_test_case($suitedir,
1806+ $testdir,
1807+ $resdir,
1808+ $suite,
1809+ $tname,
1810+ "$tname.$extension",
1811+ \%disabled,
1812+ $suite_opts));
1813+ }
1814+ }
1815+ else
1816+ {
1817+ opendir(TESTDIR, $testdir) or mtr_error("Can't open dir \"$testdir\": $!");
1818+
1819+ foreach my $elem ( sort readdir(TESTDIR) )
1820+ {
1821+ my $tname= mtr_match_extension($elem, 'test');
1822+
1823+ next unless defined $tname;
1824+
1825+ # Skip tests that does not match the --do-test= filter
1826+ next if ($do_test_reg and not $tname =~ /$do_test_reg/o);
1827+
1828+ push(@cases,
1829+ collect_one_test_case($suitedir,
1830+ $testdir,
1831+ $resdir,
1832+ $suite,
1833+ $tname,
1834+ $elem,
1835+ \%disabled,
1836+ $suite_opts));
1837+ }
1838+ closedir TESTDIR;
1839+ }
1840+
1841+ # Return empty list if no testcases found
1842+ return if (@cases == 0);
1843+
1844+ # ----------------------------------------------------------------------
1845+ # Read combinations for this suite and build testcases x combinations
1846+ # if any combinations exists
1847+ # ----------------------------------------------------------------------
1848+ if ( ! $skip_combinations && ! $quick_collect )
1849+ {
1850+ my @combinations;
1851+ my $combination_file= "$suitedir/combinations";
1852+ #print "combination_file: $combination_file\n";
1853+ if (@::opt_combinations)
1854+ {
1855+ # take the combination from command-line
1856+ mtr_verbose("Take the combination from command line");
1857+ foreach my $combination (@::opt_combinations) {
1858+ my $comb= {};
1859+ $comb->{name}= $combination;
1860+ push(@{$comb->{comb_opt}}, $combination);
1861+ push(@combinations, $comb);
1862+ }
1863+ }
1864+ elsif (-f $combination_file )
1865+ {
1866+ # Read combinations file in my.cnf format
1867+ mtr_verbose("Read combinations file");
1868+ my $config= My::Config->new($combination_file);
1869+ foreach my $group ($config->groups()) {
1870+ my $comb= {};
1871+ $comb->{name}= $group->name();
1872+ foreach my $option ( $group->options() ) {
1873+ push(@{$comb->{comb_opt}}, $option->option());
1874+ }
1875+ push(@combinations, $comb);
1876+ }
1877+ }
1878+
1879+ if (@combinations)
1880+ {
1881+ print " - adding combinations for $suite\n";
1882+ #print_testcases(@cases);
1883+
1884+ my @new_cases;
1885+ foreach my $comb (@combinations)
1886+ {
1887+ foreach my $test (@cases)
1888+ {
1889+
1890+ next if ( $test->{'skip'} );
1891+
1892+ # Skip this combination if the values it provides
1893+ # already are set in master_opt or slave_opt
1894+ if (My::Options::is_set($test->{master_opt}, $comb->{comb_opt}) &&
1895+ My::Options::is_set($test->{slave_opt}, $comb->{comb_opt}) ){
1896+ next;
1897+ }
1898+
1899+ # Copy test options
1900+ my $new_test= My::Test->new();
1901+ while (my ($key, $value) = each(%$test)) {
1902+ if (ref $value eq "ARRAY") {
1903+ push(@{$new_test->{$key}}, @$value);
1904+ } else {
1905+ $new_test->{$key}= $value;
1906+ }
1907+ }
1908+
1909+ # Append the combination options to master_opt and slave_opt
1910+ push(@{$new_test->{master_opt}}, @{$comb->{comb_opt}});
1911+ push(@{$new_test->{slave_opt}}, @{$comb->{comb_opt}});
1912+
1913+ # Add combination name short name
1914+ $new_test->{combination}= $comb->{name};
1915+
1916+ # Add the new test to new test cases list
1917+ push(@new_cases, $new_test);
1918+ }
1919+ }
1920+
1921+ # Add the plain test if it was not already added
1922+ # as part of a combination
1923+ my %added;
1924+ foreach my $new_test (@new_cases){
1925+ $added{$new_test->{name}}= 1;
1926+ }
1927+ foreach my $test (@cases){
1928+ push(@new_cases, $test) unless $added{$test->{name}};
1929+ }
1930+
1931+
1932+ #print_testcases(@new_cases);
1933+ @cases= @new_cases;
1934+ #print_testcases(@cases);
1935+ }
1936+ }
1937+
1938+ optimize_cases(\@cases);
1939+ #print_testcases(@cases);
1940+
1941+ return @cases;
1942+}
1943+
1944+
1945+
1946+#
1947+# Loop through all test cases
1948+# - optimize which test to run by skipping unnecessary ones
1949+# - update settings if necessary
1950+#
1951+sub optimize_cases {
1952+ my ($cases)= @_;
1953+
1954+ foreach my $tinfo ( @$cases )
1955+ {
1956+ # Skip processing if already marked as skipped
1957+ next if $tinfo->{skip};
1958+
1959+ # =======================================================
1960+ # If a special binlog format was selected with
1961+ # --mysqld=--binlog-format=x, skip all test that does not
1962+ # support it
1963+ # =======================================================
1964+ #print "binlog_format: $binlog_format\n";
1965+ if (defined $binlog_format )
1966+ {
1967+ # =======================================================
1968+ # Fixed --binlog-format=x specified on command line
1969+ # =======================================================
1970+ if ( defined $tinfo->{'binlog_formats'} )
1971+ {
1972+ #print "binlog_formats: ". join(", ", @{$tinfo->{binlog_formats}})."\n";
1973+
1974+ # The test supports different binlog formats
1975+ # check if the selected one is ok
1976+ my $supported=
1977+ grep { $_ eq $binlog_format } @{$tinfo->{'binlog_formats'}};
1978+ if ( !$supported )
1979+ {
1980+ $tinfo->{'skip'}= 1;
1981+ $tinfo->{'comment'}=
1982+ "Doesn't support --binlog-format='$binlog_format'";
1983+ }
1984+ }
1985+ }
1986+ else
1987+ {
1988+ # =======================================================
1989+ # Use dynamic switching of binlog format
1990+ # =======================================================
1991+
1992+ # Get binlog-format used by this test from master_opt
1993+ my $test_binlog_format;
1994+ foreach my $opt ( @{$tinfo->{master_opt}} ) {
1995+ $test_binlog_format=
1996+ mtr_match_prefix($opt, "--binlog-format=") || $test_binlog_format;
1997+ }
1998+
1999+ if (defined $test_binlog_format and
2000+ defined $tinfo->{binlog_formats} )
2001+ {
2002+ my $supported=
2003+ grep { $_ eq $test_binlog_format } @{$tinfo->{'binlog_formats'}};
2004+ if ( !$supported )
2005+ {
2006+ $tinfo->{'skip'}= 1;
2007+ $tinfo->{'comment'}=
2008+ "Doesn't support --binlog-format='$test_binlog_format'";
2009+ next;
2010+ }
2011+ }
2012+ }
2013+
2014+ # =======================================================
2015+ # Check that engine selected by
2016+ # --default-storage-engine=<engine> is supported
2017+ # =======================================================
2018+ my %builtin_engines = ('myisam' => 1, 'memory' => 1, 'csv' => 1);
2019+
2020+ foreach my $opt ( @{$tinfo->{master_opt}} ) {
2021+ my $default_engine=
2022+ mtr_match_prefix($opt, "--default-storage-engine=");
2023+
2024+ # Allow use of uppercase, convert to all lower case
2025+ $default_engine =~ tr/A-Z/a-z/;
2026+
2027+ if (defined $default_engine){
2028+
2029+ #print " $tinfo->{name}\n";
2030+ #print " - The test asked to use '$default_engine'\n";
2031+
2032+ #my $engine_value= $::mysqld_variables{$default_engine};
2033+ #print " - The mysqld_variables says '$engine_value'\n";
2034+
2035+ if ( ! exists $::mysqld_variables{$default_engine} and
2036+ ! exists $builtin_engines{$default_engine} )
2037+ {
2038+ $tinfo->{'skip'}= 1;
2039+ $tinfo->{'comment'}=
2040+ "'$default_engine' not supported";
2041+ }
2042+
2043+ $tinfo->{'ndb_test'}= 1
2044+ if ( $default_engine =~ /^ndb/i );
2045+ $tinfo->{'innodb_test'}= 1
2046+ if ( $default_engine =~ /^innodb/i );
2047+ }
2048+ }
2049+
2050+ if ($quick_collect && ! $tinfo->{'skip'})
2051+ {
2052+ $some_test_found= 1;
2053+ return;
2054+ }
2055+ }
2056+}
2057+
2058+
2059+#
2060+# Read options from the given opt file and append them as an array
2061+# to $tinfo->{$opt_name}
2062+#
2063+sub process_opts_file {
2064+ my ($tinfo, $opt_file, $opt_name)= @_;
2065+
2066+ if ( -f $opt_file )
2067+ {
2068+ my $opts= opts_from_file($opt_file);
2069+
2070+ foreach my $opt ( @$opts )
2071+ {
2072+ my $value;
2073+
2074+ # The opt file is used both to send special options to the mysqld
2075+ # as well as pass special test case specific options to this
2076+ # script
2077+
2078+ $value= mtr_match_prefix($opt, "--timezone=");
2079+ if ( defined $value )
2080+ {
2081+ $tinfo->{'timezone'}= $value;
2082+ next;
2083+ }
2084+
2085+ $value= mtr_match_prefix($opt, "--result-file=");
2086+ if ( defined $value )
2087+ {
2088+ # Specifies the file mysqltest should compare
2089+ # output against
2090+ $tinfo->{'result_file'}= "r/$value.result";
2091+ next;
2092+ }
2093+
2094+ $value= mtr_match_prefix($opt, "--config-file-template=");
2095+ if ( defined $value)
2096+ {
2097+ # Specifies the configuration file to use for this test
2098+ $tinfo->{'template_path'}= dirname($tinfo->{path})."/$value";
2099+ next;
2100+ }
2101+
2102+ # If we set default time zone, remove the one we have
2103+ $value= mtr_match_prefix($opt, "--default-time-zone=");
2104+ if ( defined $value )
2105+ {
2106+ # Set timezone for this test case to something different
2107+ $tinfo->{'timezone'}= "GMT-8";
2108+ # Fallthrough, add the --default-time-zone option
2109+ }
2110+
2111+ # The --restart option forces a restart even if no special
2112+ # option is set. If the options are the same as next testcase
2113+ # there is no need to restart after the testcase
2114+ # has completed
2115+ if ( $opt eq "--force-restart" )
2116+ {
2117+ $tinfo->{'force_restart'}= 1;
2118+ next;
2119+ }
2120+
2121+ $value= mtr_match_prefix($opt, "--testcase-timeout=");
2122+ if ( defined $value ) {
2123+ # Overrides test case timeout for this test
2124+ $tinfo->{'case-timeout'}= $value;
2125+ next;
2126+ }
2127+
2128+ # Ok, this was a real option, add it
2129+ push(@{$tinfo->{$opt_name}}, $opt);
2130+ }
2131+ }
2132+}
2133+
2134+##############################################################################
2135+#
2136+# Collect information about a single test case
2137+#
2138+##############################################################################
2139+
2140+sub collect_one_test_case {
2141+ my $suitedir= shift;
2142+ my $testdir= shift;
2143+ my $resdir= shift;
2144+ my $suitename= shift;
2145+ my $tname= shift;
2146+ my $filename= shift;
2147+ my $disabled= shift;
2148+ my $suite_opts= shift;
2149+
2150+ #print "collect_one_test_case\n";
2151+ #print " suitedir: $suitedir\n";
2152+ #print " testdir: $testdir\n";
2153+ #print " resdir: $resdir\n";
2154+ #print " suitename: $suitename\n";
2155+ #print " tname: $tname\n";
2156+ #print " filename: $filename\n";
2157+
2158+ # ----------------------------------------------------------------------
2159+ # Check --start-from
2160+ # ----------------------------------------------------------------------
2161+ if ( $start_from )
2162+ {
2163+ # start_from can be specified as [suite.].testname_prefix
2164+ my ($suite, $test, $ext)= split_testname($start_from);
2165+
2166+ if ( $suite and $suitename lt $suite){
2167+ return; # Skip silently
2168+ }
2169+ if ( $tname lt $test ){
2170+ return; # Skip silently
2171+ }
2172+ }
2173+
2174+ # ----------------------------------------------------------------------
2175+ # Set defaults
2176+ # ----------------------------------------------------------------------
2177+ my $tinfo= My::Test->new
2178+ (
2179+ name => "$suitename.$tname",
2180+ shortname => $tname,
2181+ path => "$testdir/$filename",
2182+
2183+ );
2184+
2185+ my $result_file= "$resdir/$tname.result";
2186+ if (-f $result_file) {
2187+ # Allow nonexistsing result file
2188+ # in that case .test must issue "exit" otherwise test
2189+ # should fail by default
2190+ $tinfo->{result_file}= $result_file;
2191+ }
2192+ else {
2193+ # No .result file exist
2194+ # Remember the path where it should be
2195+ # saved in case of --record
2196+ $tinfo->{record_file}= $result_file;
2197+ }
2198+
2199+ # ----------------------------------------------------------------------
2200+ # Skip some tests but include in list, just mark them as skipped
2201+ # ----------------------------------------------------------------------
2202+ if ( $skip_test_reg and $tname =~ /$skip_test_reg/o )
2203+ {
2204+ $tinfo->{'skip'}= 1;
2205+ return $tinfo;
2206+ }
2207+
2208+ # ----------------------------------------------------------------------
2209+ # Check for disabled tests
2210+ # ----------------------------------------------------------------------
2211+ my $marked_as_disabled= 0;
2212+ if ( $disabled->{$tname} or $disabled->{"$suitename.$tname"} )
2213+ {
2214+ # Test was marked as disabled in suites disabled.def file
2215+ $marked_as_disabled= 1;
2216+ # Test name may have been disabled with or without suite name part
2217+ $tinfo->{'comment'}= $disabled->{$tname} ||
2218+ $disabled->{"$suitename.$tname"};
2219+ }
2220+
2221+ my $disabled_file= "$testdir/$tname.disabled";
2222+ if ( -f $disabled_file )
2223+ {
2224+ $marked_as_disabled= 1;
2225+ $tinfo->{'comment'}= mtr_fromfile($disabled_file);
2226+ }
2227+
2228+ if ( $marked_as_disabled )
2229+ {
2230+ if ( $enable_disabled )
2231+ {
2232+ # User has selected to run all disabled tests
2233+ mtr_report(" - $tinfo->{name} wil be run although it's been disabled\n",
2234+ " due to '$tinfo->{comment}'");
2235+ }
2236+ else
2237+ {
2238+ $tinfo->{'skip'}= 1;
2239+ $tinfo->{'disable'}= 1; # Sub type of 'skip'
2240+ return $tinfo;
2241+ }
2242+ }
2243+
2244+ # ----------------------------------------------------------------------
2245+ # Append suite extra options to both master and slave
2246+ # ----------------------------------------------------------------------
2247+ push(@{$tinfo->{'master_opt'}}, @$suite_opts);
2248+ push(@{$tinfo->{'slave_opt'}}, @$suite_opts);
2249+
2250+ #-----------------------------------------------------------------------
2251+ # Check for test specific config file
2252+ #-----------------------------------------------------------------------
2253+ my $test_cnf_file= "$testdir/$tname.cnf";
2254+ if ( -f $test_cnf_file) {
2255+ # Specifies the configuration file to use for this test
2256+ $tinfo->{'template_path'}= $test_cnf_file;
2257+ }
2258+
2259+ # ----------------------------------------------------------------------
2260+ # Check for test specific config file
2261+ # ----------------------------------------------------------------------
2262+ my $test_cnf_file= "$testdir/$tname.cnf";
2263+ if ( -f $test_cnf_file ) {
2264+ # Specifies the configuration file to use for this test
2265+ $tinfo->{'template_path'}= $test_cnf_file;
2266+ }
2267+
2268+ # ----------------------------------------------------------------------
2269+ # master sh
2270+ # ----------------------------------------------------------------------
2271+ my $master_sh= "$testdir/$tname-master.sh";
2272+ if ( -f $master_sh )
2273+ {
2274+ if ( IS_WIN32PERL )
2275+ {
2276+ $tinfo->{'skip'}= 1;
2277+ $tinfo->{'comment'}= "No tests with sh scripts on Windows";
2278+ return $tinfo;
2279+ }
2280+ else
2281+ {
2282+ $tinfo->{'master_sh'}= $master_sh;
2283+ }
2284+ }
2285+
2286+ # ----------------------------------------------------------------------
2287+ # slave sh
2288+ # ----------------------------------------------------------------------
2289+ my $slave_sh= "$testdir/$tname-slave.sh";
2290+ if ( -f $slave_sh )
2291+ {
2292+ if ( IS_WIN32PERL )
2293+ {
2294+ $tinfo->{'skip'}= 1;
2295+ $tinfo->{'comment'}= "No tests with sh scripts on Windows";
2296+ return $tinfo;
2297+ }
2298+ else
2299+ {
2300+ $tinfo->{'slave_sh'}= $slave_sh;
2301+ }
2302+ }
2303+
2304+ # ----------------------------------------------------------------------
2305+ # <tname>.slave-mi
2306+ # ----------------------------------------------------------------------
2307+ mtr_error("$tname: slave-mi not supported anymore")
2308+ if ( -f "$testdir/$tname.slave-mi");
2309+
2310+
2311+ tags_from_test_file($tinfo,"$testdir/${tname}.test");
2312+
2313+ if ( defined $default_storage_engine )
2314+ {
2315+ # Different default engine is used
2316+ # tag test to require that engine
2317+ $tinfo->{'ndb_test'}= 1
2318+ if ( $default_storage_engine =~ /^ndb/i );
2319+
2320+ $tinfo->{'innodb_test'}= 1
2321+ if ( $default_storage_engine =~ /^innodb/i );
2322+
2323+ }
2324+
2325+ if ( $tinfo->{'big_test'} and ! $::opt_big_test )
2326+ {
2327+ $tinfo->{'skip'}= 1;
2328+ $tinfo->{'comment'}= "Test needs 'big-test' option";
2329+ return $tinfo
2330+ }
2331+
2332+ if ( $tinfo->{'need_debug'} && ! $::debug_compiled_binaries )
2333+ {
2334+ $tinfo->{'skip'}= 1;
2335+ $tinfo->{'comment'}= "Test needs debug binaries";
2336+ return $tinfo
2337+ }
2338+
2339+ if ( $tinfo->{'ndb_test'} )
2340+ {
2341+ # This is a NDB test
2342+ if ( $::opt_skip_ndbcluster == 2 )
2343+ {
2344+ # Ndb is not supported, skip it
2345+ $tinfo->{'skip'}= 1;
2346+ $tinfo->{'comment'}= "No ndbcluster support or ndb tests not enabled";
2347+ return $tinfo;
2348+ }
2349+ elsif ( $::opt_skip_ndbcluster )
2350+ {
2351+ # All ndb test's should be skipped
2352+ $tinfo->{'skip'}= 1;
2353+ $tinfo->{'comment'}= "No ndbcluster tests(--skip-ndbcluster)";
2354+ return $tinfo;
2355+ }
2356+ }
2357+ else
2358+ {
2359+ # This is not a ndb test
2360+ if ( $opt_with_ndbcluster_only )
2361+ {
2362+ # Only the ndb test should be run, all other should be skipped
2363+ $tinfo->{'skip'}= 1;
2364+ $tinfo->{'comment'}= "Only ndbcluster tests";
2365+ return $tinfo;
2366+ }
2367+ }
2368+
2369+ if ($tinfo->{'federated_test'})
2370+ {
2371+ # This is a test that needs federated, enable it
2372+ push(@{$tinfo->{'master_opt'}}, "--loose-federated");
2373+ push(@{$tinfo->{'slave_opt'}}, "--loose-federated");
2374+ }
2375+
2376+ if ( $tinfo->{'innodb_test'} )
2377+ {
2378+ # This is a test that needs innodb
2379+ if ( $::mysqld_variables{'innodb'} eq "OFF" ||
2380+ ! exists $::mysqld_variables{'innodb'} )
2381+ {
2382+ # innodb is not supported, skip it
2383+ $tinfo->{'skip'}= 1;
2384+ # This comment is checked for running with innodb plugin (see above),
2385+ # please keep that in mind if changing the text.
2386+ $tinfo->{'comment'}= "No innodb support";
2387+ # But continue processing if we may run it with innodb plugin
2388+ return $tinfo unless $do_innodb_plugin;
2389+ }
2390+ }
2391+ elsif ($default_myisam)
2392+ {
2393+ # This is a temporary fix to allow non-innodb tests to run even if
2394+ # the default storage engine is innodb.
2395+ push(@{$tinfo->{'master_opt'}}, "--default-storage-engine=MyISAM");
2396+ push(@{$tinfo->{'slave_opt'}}, "--default-storage-engine=MyISAM");
2397+ }
2398+
2399+ if ( $tinfo->{'need_binlog'} )
2400+ {
2401+ if (grep(/^--skip-log-bin/, @::opt_extra_mysqld_opt) )
2402+ {
2403+ $tinfo->{'skip'}= 1;
2404+ $tinfo->{'comment'}= "Test needs binlog";
2405+ return $tinfo;
2406+ }
2407+ }
2408+ else
2409+ {
2410+ # Test does not need binlog, add --skip-binlog to
2411+ # the options used when starting
2412+ push(@{$tinfo->{'master_opt'}}, "--loose-skip-log-bin");
2413+ push(@{$tinfo->{'slave_opt'}}, "--loose-skip-log-bin");
2414+ }
2415+
2416+ if ( $tinfo->{'rpl_test'} )
2417+ {
2418+ if ( $skip_rpl )
2419+ {
2420+ $tinfo->{'skip'}= 1;
2421+ $tinfo->{'comment'}= "No replication tests(--skip-rpl)";
2422+ return $tinfo;
2423+ }
2424+ }
2425+
2426+ if ( $::opt_embedded_server )
2427+ {
2428+ if ( $tinfo->{'not_embedded'} )
2429+ {
2430+ $tinfo->{'skip'}= 1;
2431+ $tinfo->{'comment'}= "Not run for embedded server";
2432+ return $tinfo;
2433+ }
2434+ }
2435+
2436+ if ( $tinfo->{'need_ssl'} )
2437+ {
2438+ # This is a test that needs ssl
2439+ if ( ! $::opt_ssl_supported ) {
2440+ # SSL is not supported, skip it
2441+ $tinfo->{'skip'}= 1;
2442+ $tinfo->{'comment'}= "No SSL support";
2443+ return $tinfo;
2444+ }
2445+ }
2446+
2447+ # ----------------------------------------------------------------------
2448+ # Find config file to use if not already selected in <testname>.opt file
2449+ # ----------------------------------------------------------------------
2450+ if (defined $defaults_file) {
2451+ # Using same config file for all tests
2452+ $tinfo->{template_path}= $defaults_file;
2453+ }
2454+ elsif (! $tinfo->{template_path} )
2455+ {
2456+ my $config= "$suitedir/my.cnf";
2457+ if (! -f $config )
2458+ {
2459+ # assume default.cnf will be used
2460+ $config= "include/default_my.cnf";
2461+
2462+ # Suite has no config, autodetect which one to use
2463+ if ( $tinfo->{rpl_test} ){
2464+ $config= "suite/rpl/my.cnf";
2465+ if ( $tinfo->{ndb_test} ){
2466+ $config= "suite/rpl_ndb/my.cnf";
2467+ }
2468+ }
2469+ elsif ( $tinfo->{ndb_test} ){
2470+ $config= "suite/ndb/my.cnf";
2471+ }
2472+ }
2473+ $tinfo->{template_path}= $config;
2474+ }
2475+
2476+ # Set extra config file to use
2477+ if (defined $defaults_extra_file) {
2478+ $tinfo->{extra_template_path}= $defaults_extra_file;
2479+ }
2480+
2481+ # ----------------------------------------------------------------------
2482+ # Append mysqld extra options to both master and slave
2483+ # ----------------------------------------------------------------------
2484+ push(@{$tinfo->{'master_opt'}}, @::opt_extra_mysqld_opt);
2485+ push(@{$tinfo->{'slave_opt'}}, @::opt_extra_mysqld_opt);
2486+
2487+ # ----------------------------------------------------------------------
2488+ # Add master opts, extra options only for master
2489+ # ----------------------------------------------------------------------
2490+ process_opts_file($tinfo, "$testdir/$tname-master.opt", 'master_opt');
2491+
2492+ # ----------------------------------------------------------------------
2493+ # Add slave opts, list of extra option only for slave
2494+ # ----------------------------------------------------------------------
2495+ process_opts_file($tinfo, "$testdir/$tname-slave.opt", 'slave_opt');
2496+
2497+ return $tinfo;
2498+}
2499+
2500+
2501+# List of tags in the .test files that if found should set
2502+# the specified value in "tinfo"
2503+my @tags=
2504+(
2505+ ["include/have_binlog_format_row.inc", "binlog_formats", ["row"]],
2506+ ["include/have_binlog_format_statement.inc", "binlog_formats", ["statement"]],
2507+ ["include/have_binlog_format_mixed.inc", "binlog_formats", ["mixed"]],
2508+ ["include/have_binlog_format_mixed_or_row.inc",
2509+ "binlog_formats", ["mixed", "row"]],
2510+ ["include/have_binlog_format_mixed_or_statement.inc",
2511+ "binlog_formats", ["mixed", "statement"]],
2512+ ["include/have_binlog_format_row_or_statement.inc",
2513+ "binlog_formats", ["row", "statement"]],
2514+
2515+ ["include/have_log_bin.inc", "need_binlog", 1],
2516+
2517+ ["include/have_innodb.inc", "innodb_test", 1],
2518+ ["include/big_test.inc", "big_test", 1],
2519+ ["include/have_debug.inc", "need_debug", 1],
2520+ ["include/have_ndb.inc", "ndb_test", 1],
2521+ ["include/have_multi_ndb.inc", "ndb_test", 1],
2522+ ["include/master-slave.inc", "rpl_test", 1],
2523+ ["include/ndb_master-slave.inc", "rpl_test", 1],
2524+ ["include/ndb_master-slave.inc", "ndb_test", 1],
2525+ ["federated.inc", "federated_test", 1],
2526+ ["include/not_embedded.inc", "not_embedded", 1],
2527+ ["include/have_ssl.inc", "need_ssl", 1],
2528+);
2529+
2530+
2531+sub tags_from_test_file {
2532+ my $tinfo= shift;
2533+ my $file= shift;
2534+ #mtr_verbose("$file");
2535+ my $F= IO::File->new($file) or mtr_error("can't open file \"$file\": $!");
2536+
2537+ while ( my $line= <$F> )
2538+ {
2539+
2540+ # Skip line if it start's with #
2541+ next if ( $line =~ /^#/ );
2542+
2543+ # Match this line against tag in "tags" array
2544+ foreach my $tag (@tags)
2545+ {
2546+ if ( index($line, $tag->[0]) >= 0 )
2547+ {
2548+ # Tag matched, assign value to "tinfo"
2549+ $tinfo->{"$tag->[1]"}= $tag->[2];
2550+ }
2551+ }
2552+
2553+ # If test sources another file, open it as well
2554+ if ( $line =~ /^\-\-([[:space:]]*)source(.*)$/ or
2555+ $line =~ /^([[:space:]]*)source(.*);$/ )
2556+ {
2557+ my $value= $2;
2558+ $value =~ s/^\s+//; # Remove leading space
2559+ $value =~ s/[[:space:]]+$//; # Remove ending space
2560+
2561+ # Sourced file may exist relative to test or
2562+ # in global location
2563+ foreach my $sourced_file (dirname($file). "/$value",
2564+ "$::glob_mysql_test_dir/$value")
2565+ {
2566+ if ( -f $sourced_file )
2567+ {
2568+ # Only source the file if it exists, we may get
2569+ # false positives in the regexes above if someone
2570+ # writes "source nnnn;" in a test case(such as mysqltest.test)
2571+ tags_from_test_file($tinfo, $sourced_file);
2572+ last;
2573+ }
2574+ }
2575+ }
2576+
2577+ }
2578+}
2579+
2580+sub unspace {
2581+ my $string= shift;
2582+ my $quote= shift;
2583+ $string =~ s/[ \t]/\x11/g;
2584+ return "$quote$string$quote";
2585+}
2586+
2587+
2588+sub opts_from_file ($) {
2589+ my $file= shift;
2590+
2591+ open(FILE,"<",$file) or mtr_error("can't open file \"$file\": $!");
2592+ my @args;
2593+ while ( <FILE> )
2594+ {
2595+ chomp;
2596+
2597+ # --init_connect=set @a='a\\0c'
2598+ s/^\s+//; # Remove leading space
2599+ s/\s+$//; # Remove ending space
2600+
2601+ # This is strange, but we need to fill whitespace inside
2602+ # quotes with something, to remove later. We do this to
2603+ # be able to split on space. Else, we have trouble with
2604+ # options like
2605+ #
2606+ # --someopt="--insideopt1 --insideopt2"
2607+ #
2608+ # But still with this, we are not 100% sure it is right,
2609+ # we need a shell to do it right.
2610+
2611+ s/\'([^\'\"]*)\'/unspace($1,"\x0a")/ge;
2612+ s/\"([^\'\"]*)\"/unspace($1,"\x0b")/ge;
2613+ s/\'([^\'\"]*)\'/unspace($1,"\x0a")/ge;
2614+ s/\"([^\'\"]*)\"/unspace($1,"\x0b")/ge;
2615+
2616+ foreach my $arg (split(/[ \t]+/))
2617+ {
2618+ $arg =~ tr/\x11\x0a\x0b/ \'\"/; # Put back real chars
2619+ # The outermost quotes has to go
2620+ $arg =~ s/^([^\'\"]*)\'(.*)\'([^\'\"]*)$/$1$2$3/
2621+ or $arg =~ s/^([^\'\"]*)\"(.*)\"([^\'\"]*)$/$1$2$3/;
2622+ $arg =~ s/\\\\/\\/g;
2623+
2624+ # Do not pass empty string since my_getopt is not capable to handle it.
2625+ if (length($arg)) {
2626+ push(@args, $arg);
2627+ }
2628+ }
2629+ }
2630+ close FILE;
2631+ return \@args;
2632+}
2633+
2634+sub print_testcases {
2635+ my (@cases)= @_;
2636+
2637+ print "=" x 60, "\n";
2638+ foreach my $test (@cases){
2639+ $test->print_test();
2640+ }
2641+ print "=" x 60, "\n";
2642+}
2643+
2644+
2645+1;
2646
2647=== added file '.pc/applied-patches'
2648--- .pc/applied-patches 1970-01-01 00:00:00 +0000
2649+++ .pc/applied-patches 2012-03-30 01:16:23 +0000
2650@@ -0,0 +1,6 @@
2651+38_scripts__mysqld_safe.sh__signals.patch
2652+62_disable_tests.patch
2653+70_mysql_va_list.patch
2654+71_disable_rpl_tests.patch
2655+72_fix_standalone_tests.patch
2656+fix-mysqldump-test.patch
2657
2658=== renamed file '.pc/applied-patches' => '.pc/applied-patches.moved'
2659=== added directory '.pc/fix-mysqldump-test.patch'
2660=== renamed directory '.pc/fix-mysqldump-test.patch' => '.pc/fix-mysqldump-test.patch.moved'
2661=== added file '.pc/fix-mysqldump-test.patch/.timestamp'
2662=== added directory '.pc/fix-mysqldump-test.patch/mysql-test'
2663=== added directory '.pc/fix-mysqldump-test.patch/mysql-test/r'
2664=== added file '.pc/fix-mysqldump-test.patch/mysql-test/r/mysqldump.result'
2665--- .pc/fix-mysqldump-test.patch/mysql-test/r/mysqldump.result 1970-01-01 00:00:00 +0000
2666+++ .pc/fix-mysqldump-test.patch/mysql-test/r/mysqldump.result 2012-03-30 01:16:23 +0000
2667@@ -0,0 +1,5207 @@
2668+# Bug#37938 Test "mysqldump" lacks various insert statements
2669+# Turn off concurrent inserts to avoid random errors
2670+# NOTE: We reset the variable back to saved value at the end of test
2671+SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
2672+SET @@GLOBAL.CONCURRENT_INSERT = 0;
2673+DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3;
2674+drop database if exists mysqldump_test_db;
2675+drop database if exists db1;
2676+drop database if exists db2;
2677+drop view if exists v1, v2, v3;
2678+CREATE TABLE t1(a INT, KEY (a)) KEY_BLOCK_SIZE=1024;
2679+INSERT INTO t1 VALUES (1), (2);
2680+<?xml version="1.0"?>
2681+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2682+<database name="test">
2683+ <table_structure name="t1">
2684+ <field Field="a" Type="int(11)" Null="YES" Key="MUL" Extra="" Comment="" />
2685+ <key Table="t1" Non_unique="1" Key_name="a" Seq_in_index="1" Column_name="a" Collation="A" Null="YES" Index_type="BTREE" Comment="" Index_comment="" />
2686+ </table_structure>
2687+ <table_data name="t1">
2688+ <row>
2689+ <field name="a">1</field>
2690+ </row>
2691+ <row>
2692+ <field name="a">2</field>
2693+ </row>
2694+ </table_data>
2695+</database>
2696+</mysqldump>
2697+DROP TABLE t1;
2698+#
2699+# Bug#2005 Long decimal comparison bug.
2700+#
2701+CREATE TABLE t1 (a decimal(64, 20));
2702+INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"),
2703+("0987654321098765432109876543210987654321");
2704+/*!40101 SET @saved_cs_client = @@character_set_client */;
2705+/*!40101 SET character_set_client = utf8 */;
2706+CREATE TABLE `t1` (
2707+ `a` decimal(64,20) DEFAULT NULL
2708+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2709+/*!40101 SET character_set_client = @saved_cs_client */;
2710+INSERT INTO `t1` VALUES (1234567890123456789012345678901234567890.00000000000000000000),(987654321098765432109876543210987654321.00000000000000000000);
2711+DROP TABLE t1;
2712+#
2713+# Bug#2055 mysqldump should replace "-inf" numeric field values with "NULL"
2714+#
2715+CREATE TABLE t1 (a double);
2716+INSERT INTO t1 VALUES ('-9e999999');
2717+Warnings:
2718+Warning 1264 Out of range value for column 'a' at row 1
2719+/*!40101 SET @saved_cs_client = @@character_set_client */;
2720+/*!40101 SET character_set_client = utf8 */;
2721+CREATE TABLE `t1` (
2722+ `a` double DEFAULT NULL
2723+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2724+/*!40101 SET character_set_client = @saved_cs_client */;
2725+INSERT INTO `t1` VALUES (-1.7976931348623157e308);
2726+DROP TABLE t1;
2727+#
2728+# Bug#3361 mysqldump quotes DECIMAL values inconsistently
2729+#
2730+CREATE TABLE t1 (a DECIMAL(10,5), b FLOAT);
2731+INSERT INTO t1 VALUES (1.2345, 2.3456);
2732+INSERT INTO t1 VALUES ('1.2345', 2.3456);
2733+INSERT INTO t1 VALUES ("1.2345", 2.3456);
2734+SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ANSI_QUOTES';
2735+INSERT INTO t1 VALUES (1.2345, 2.3456);
2736+INSERT INTO t1 VALUES ('1.2345', 2.3456);
2737+INSERT INTO t1 VALUES ("1.2345", 2.3456);
2738+ERROR 42S22: Unknown column '1.2345' in 'field list'
2739+SET SQL_MODE=@OLD_SQL_MODE;
2740+/*!40101 SET @saved_cs_client = @@character_set_client */;
2741+/*!40101 SET character_set_client = utf8 */;
2742+CREATE TABLE `t1` (
2743+ `a` decimal(10,5) DEFAULT NULL,
2744+ `b` float DEFAULT NULL
2745+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2746+/*!40101 SET character_set_client = @saved_cs_client */;
2747+INSERT INTO `t1` VALUES (1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456);
2748+/*!40101 SET @saved_cs_client = @@character_set_client */;
2749+/*!40101 SET character_set_client = utf8 */;
2750+CREATE TABLE `t1` (
2751+ `a` decimal(10,5) DEFAULT NULL,
2752+ `b` float DEFAULT NULL
2753+);
2754+/*!40101 SET character_set_client = @saved_cs_client */;
2755+INSERT INTO `t1` VALUES (1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456);
2756+
2757+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
2758+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
2759+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
2760+/*!40101 SET NAMES utf8 */;
2761+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2762+/*!40103 SET TIME_ZONE='+00:00' */;
2763+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2764+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2765+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
2766+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2767+DROP TABLE IF EXISTS `t1`;
2768+/*!40101 SET @saved_cs_client = @@character_set_client */;
2769+/*!40101 SET character_set_client = utf8 */;
2770+CREATE TABLE `t1` (
2771+ `a` decimal(10,5) DEFAULT NULL,
2772+ `b` float DEFAULT NULL
2773+);
2774+/*!40101 SET character_set_client = @saved_cs_client */;
2775+
2776+LOCK TABLES `t1` WRITE;
2777+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
2778+INSERT INTO `t1` VALUES (1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456);
2779+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
2780+UNLOCK TABLES;
2781+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2782+
2783+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2784+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2785+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2786+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
2787+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
2788+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2789+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2790+
2791+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2792+/*!40103 SET TIME_ZONE='+00:00' */;
2793+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2794+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2795+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
2796+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2797+/*!40101 SET @saved_cs_client = @@character_set_client */;
2798+/*!40101 SET character_set_client = utf8 */;
2799+CREATE TABLE `t1` (
2800+ `a` decimal(10,5) DEFAULT NULL,
2801+ `b` float DEFAULT NULL
2802+);
2803+/*!40101 SET character_set_client = @saved_cs_client */;
2804+
2805+INSERT INTO `t1` VALUES (1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456);
2806+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2807+
2808+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2809+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2810+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2811+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2812+
2813+DROP TABLE t1;
2814+CREATE TABLE t1(a int, b text, c varchar(3));
2815+INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
2816+<?xml version="1.0"?>
2817+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2818+<database name="test">
2819+ <table_structure name="t1">
2820+ <field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
2821+ <field Field="b" Type="text" Null="YES" Key="" Extra="" Comment="" />
2822+ <field Field="c" Type="varchar(3)" Null="YES" Key="" Extra="" Comment="" />
2823+ </table_structure>
2824+ <table_data name="t1">
2825+ <row>
2826+ <field name="a">1</field>
2827+ <field name="b">test</field>
2828+ <field name="c">tes</field>
2829+ </row>
2830+ <row>
2831+ <field name="a">2</field>
2832+ <field name="b">TEST</field>
2833+ <field name="c">TES</field>
2834+ </row>
2835+ </table_data>
2836+</database>
2837+</mysqldump>
2838+DROP TABLE t1;
2839+#
2840+# Bug#1707 mysqldump -X does't quote field and table names
2841+#
2842+CREATE TABLE t1 (`a"b"` char(2));
2843+INSERT INTO t1 VALUES ("1\""), ("\"2");
2844+<?xml version="1.0"?>
2845+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2846+<database name="test">
2847+ <table_structure name="t1">
2848+ <field Field="a&quot;b&quot;" Type="char(2)" Null="YES" Key="" Extra="" Comment="" />
2849+ </table_structure>
2850+ <table_data name="t1">
2851+ <row>
2852+ <field name="a&quot;b&quot;">1&quot;</field>
2853+ </row>
2854+ <row>
2855+ <field name="a&quot;b&quot;">&quot;2</field>
2856+ </row>
2857+ </table_data>
2858+</database>
2859+</mysqldump>
2860+DROP TABLE t1;
2861+#
2862+# Bug#1994 mysqldump does not correctly dump UCS2 data
2863+# Bug#4261 mysqldump 10.7 (mysql 4.1.2) --skip-extended-insert drops NULL from inserts
2864+#
2865+CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r;
2866+INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5'), (NULL);
2867+
2868+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
2869+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
2870+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
2871+/*!40101 SET NAMES utf8 */;
2872+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2873+/*!40103 SET TIME_ZONE='+00:00' */;
2874+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2875+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2876+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
2877+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2878+DROP TABLE IF EXISTS `t1`;
2879+/*!40101 SET @saved_cs_client = @@character_set_client */;
2880+/*!40101 SET character_set_client = utf8 */;
2881+CREATE TABLE `t1` (
2882+ `a` varchar(255) DEFAULT NULL
2883+) ENGINE=MyISAM DEFAULT CHARSET=koi8r;
2884+/*!40101 SET character_set_client = @saved_cs_client */;
2885+
2886+LOCK TABLES `t1` WRITE;
2887+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
2888+INSERT INTO `t1` VALUES ('абцде');
2889+INSERT INTO `t1` VALUES (NULL);
2890+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
2891+UNLOCK TABLES;
2892+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2893+
2894+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2895+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2896+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2897+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
2898+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
2899+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2900+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2901+
2902+DROP TABLE t1;
2903+#
2904+# Bug#2634 mysqldump in --compatible=mysql4
2905+#
2906+CREATE TABLE t1 (a int) ENGINE=MYISAM;
2907+INSERT INTO t1 VALUES (1), (2);
2908+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2909+/*!40103 SET TIME_ZONE='+00:00' */;
2910+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2911+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2912+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL40' */;
2913+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2914+DROP TABLE IF EXISTS `t1`;
2915+CREATE TABLE `t1` (
2916+ `a` int(11) DEFAULT NULL
2917+) TYPE=MyISAM;
2918+
2919+LOCK TABLES `t1` WRITE;
2920+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
2921+INSERT INTO `t1` VALUES (1),(2);
2922+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
2923+UNLOCK TABLES;
2924+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2925+
2926+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2927+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2928+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2929+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2930+
2931+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2932+/*!40103 SET TIME_ZONE='+00:00' */;
2933+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2934+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2935+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */;
2936+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2937+DROP TABLE IF EXISTS `t1`;
2938+CREATE TABLE `t1` (
2939+ `a` int(11) DEFAULT NULL
2940+) TYPE=MyISAM;
2941+
2942+LOCK TABLES `t1` WRITE;
2943+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
2944+INSERT INTO `t1` VALUES (1),(2);
2945+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
2946+UNLOCK TABLES;
2947+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2948+
2949+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2950+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2951+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2952+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2953+
2954+DROP TABLE t1;
2955+#
2956+# Bug#2592 mysqldump doesn't quote "tricky" names correctly
2957+#
2958+create table ```a` (i int);
2959+/*!40101 SET @saved_cs_client = @@character_set_client */;
2960+/*!40101 SET character_set_client = utf8 */;
2961+CREATE TABLE ```a` (
2962+ `i` int(11) DEFAULT NULL
2963+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2964+/*!40101 SET character_set_client = @saved_cs_client */;
2965+drop table ```a`;
2966+#
2967+# Bug#2591 mysqldump quotes names inconsistently
2968+#
2969+create table t1(a int);
2970+
2971+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
2972+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
2973+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
2974+/*!40101 SET NAMES utf8 */;
2975+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
2976+/*!40103 SET TIME_ZONE='+00:00' */;
2977+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
2978+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
2979+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
2980+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2981+DROP TABLE IF EXISTS `t1`;
2982+/*!40101 SET @saved_cs_client = @@character_set_client */;
2983+/*!40101 SET character_set_client = utf8 */;
2984+CREATE TABLE `t1` (
2985+ `a` int(11) DEFAULT NULL
2986+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2987+/*!40101 SET character_set_client = @saved_cs_client */;
2988+
2989+LOCK TABLES `t1` WRITE;
2990+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
2991+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
2992+UNLOCK TABLES;
2993+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2994+
2995+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
2996+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
2997+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
2998+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
2999+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3000+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3001+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3002+
3003+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3004+/*!40103 SET TIME_ZONE='+00:00' */;
3005+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3006+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3007+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
3008+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3009+DROP TABLE IF EXISTS "t1";
3010+/*!40101 SET @saved_cs_client = @@character_set_client */;
3011+/*!40101 SET character_set_client = utf8 */;
3012+CREATE TABLE "t1" (
3013+ "a" int(11) DEFAULT NULL
3014+);
3015+/*!40101 SET character_set_client = @saved_cs_client */;
3016+
3017+LOCK TABLES "t1" WRITE;
3018+/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
3019+/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
3020+UNLOCK TABLES;
3021+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3022+
3023+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3024+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3025+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3026+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3027+
3028+set global sql_mode='ANSI_QUOTES';
3029+
3030+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3031+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3032+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3033+/*!40101 SET NAMES utf8 */;
3034+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3035+/*!40103 SET TIME_ZONE='+00:00' */;
3036+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3037+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3038+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3039+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3040+DROP TABLE IF EXISTS `t1`;
3041+/*!40101 SET @saved_cs_client = @@character_set_client */;
3042+/*!40101 SET character_set_client = utf8 */;
3043+CREATE TABLE `t1` (
3044+ `a` int(11) DEFAULT NULL
3045+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3046+/*!40101 SET character_set_client = @saved_cs_client */;
3047+
3048+LOCK TABLES `t1` WRITE;
3049+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3050+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3051+UNLOCK TABLES;
3052+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3053+
3054+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3055+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3056+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3057+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3058+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3059+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3060+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3061+
3062+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3063+/*!40103 SET TIME_ZONE='+00:00' */;
3064+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3065+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3066+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
3067+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3068+DROP TABLE IF EXISTS "t1";
3069+/*!40101 SET @saved_cs_client = @@character_set_client */;
3070+/*!40101 SET character_set_client = utf8 */;
3071+CREATE TABLE "t1" (
3072+ "a" int(11) DEFAULT NULL
3073+);
3074+/*!40101 SET character_set_client = @saved_cs_client */;
3075+
3076+LOCK TABLES "t1" WRITE;
3077+/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
3078+/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
3079+UNLOCK TABLES;
3080+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3081+
3082+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3083+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3084+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3085+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3086+
3087+set global sql_mode='';
3088+drop table t1;
3089+#
3090+# Bug#2705 mysqldump --tab extra output
3091+#
3092+create table t1(a int);
3093+insert into t1 values (1),(2),(3);
3094+
3095+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3096+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3097+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3098+/*!40101 SET NAMES utf8 */;
3099+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3100+/*!40103 SET TIME_ZONE='+00:00' */;
3101+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
3102+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3103+DROP TABLE IF EXISTS `t1`;
3104+/*!40101 SET @saved_cs_client = @@character_set_client */;
3105+/*!40101 SET character_set_client = utf8 */;
3106+CREATE TABLE `t1` (
3107+ `a` int(11) DEFAULT NULL
3108+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3109+/*!40101 SET character_set_client = @saved_cs_client */;
3110+
3111+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3112+
3113+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3114+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3115+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3116+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3117+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3118+
3119+1
3120+2
3121+3
3122+drop table t1;
3123+#
3124+# Bug#6101 create database problem
3125+#
3126+
3127+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3128+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3129+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3130+/*!40101 SET NAMES utf8 */;
3131+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3132+/*!40103 SET TIME_ZONE='+00:00' */;
3133+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3134+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3135+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3136+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3137+
3138+CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
3139+
3140+USE `test`;
3141+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3142+
3143+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3144+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3145+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3146+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3147+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3148+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3149+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3150+
3151+create database mysqldump_test_db character set latin2 collate latin2_bin;
3152+
3153+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3154+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3155+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3156+/*!40101 SET NAMES utf8 */;
3157+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3158+/*!40103 SET TIME_ZONE='+00:00' */;
3159+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3160+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3161+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3162+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3163+
3164+CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET latin2 COLLATE latin2_bin */;
3165+
3166+USE `mysqldump_test_db`;
3167+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3168+
3169+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3170+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3171+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3172+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3173+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3174+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3175+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3176+
3177+drop database mysqldump_test_db;
3178+#
3179+# Bug#7020 mysqldump --compatible=mysql40 should set --skip-set-charset --default-char...
3180+# Check that we don't dump in UTF8 in compatible mode by default,
3181+# but use the default compiled values, or the values given in
3182+# --default-character-set=xxx. However, we should dump in UTF8
3183+# if it is explicitely set.
3184+CREATE TABLE t1 (a CHAR(10));
3185+INSERT INTO t1 VALUES (_latin1 'ÄÖÜß');
3186+
3187+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3188+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3189+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3190+/*!40101 SET NAMES utf8 */;
3191+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3192+/*!40103 SET TIME_ZONE='+00:00' */;
3193+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3194+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3195+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3196+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3197+DROP TABLE IF EXISTS `t1`;
3198+/*!40101 SET @saved_cs_client = @@character_set_client */;
3199+/*!40101 SET character_set_client = utf8 */;
3200+CREATE TABLE `t1` (
3201+ `a` char(10) DEFAULT NULL
3202+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3203+/*!40101 SET character_set_client = @saved_cs_client */;
3204+
3205+LOCK TABLES `t1` WRITE;
3206+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3207+INSERT INTO `t1` VALUES ('ÄÖÜß');
3208+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3209+UNLOCK TABLES;
3210+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3211+
3212+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3213+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3214+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3215+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3216+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3217+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3218+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3219+
3220+#
3221+# Bug#8063 make test mysqldump [ fail ]
3222+# We cannot test this command because its output depends
3223+# on --default-character-set incompiled into "mysqldump" program.
3224+# If the future we can move this command into a separate test with
3225+# checking that "mysqldump" is compiled with "latin1"
3226+#
3227+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3228+/*!40103 SET TIME_ZONE='+00:00' */;
3229+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3230+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3231+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */;
3232+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3233+DROP TABLE IF EXISTS `t1`;
3234+CREATE TABLE `t1` (
3235+ `a` char(10) DEFAULT NULL
3236+) TYPE=MyISAM;
3237+
3238+LOCK TABLES `t1` WRITE;
3239+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3240+INSERT INTO `t1` VALUES ('Ž™šá');
3241+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3242+UNLOCK TABLES;
3243+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3244+
3245+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3246+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3247+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3248+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3249+
3250+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3251+/*!40103 SET TIME_ZONE='+00:00' */;
3252+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3253+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3254+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */;
3255+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3256+DROP TABLE IF EXISTS `t1`;
3257+CREATE TABLE `t1` (
3258+ `a` char(10) DEFAULT NULL
3259+) TYPE=MyISAM;
3260+
3261+LOCK TABLES `t1` WRITE;
3262+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3263+INSERT INTO `t1` VALUES ('Ž™šá');
3264+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3265+UNLOCK TABLES;
3266+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3267+
3268+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3269+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3270+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3271+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3272+
3273+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3274+/*!40103 SET TIME_ZONE='+00:00' */;
3275+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3276+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3277+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,MYSQL323' */;
3278+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3279+DROP TABLE IF EXISTS `t1`;
3280+CREATE TABLE `t1` (
3281+ `a` char(10) DEFAULT NULL
3282+) TYPE=MyISAM;
3283+
3284+LOCK TABLES `t1` WRITE;
3285+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3286+INSERT INTO `t1` VALUES ('ÄÖÜß');
3287+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3288+UNLOCK TABLES;
3289+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3290+
3291+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3292+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3293+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3294+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3295+
3296+DROP TABLE t1;
3297+#
3298+# WL#2319 Exclude Tables from dump
3299+#
3300+CREATE TABLE t1 (a int);
3301+CREATE TABLE t2 (a int);
3302+INSERT INTO t1 VALUES (1),(2),(3);
3303+INSERT INTO t2 VALUES (4),(5),(6);
3304+
3305+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3306+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3307+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3308+/*!40101 SET NAMES utf8 */;
3309+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3310+/*!40103 SET TIME_ZONE='+00:00' */;
3311+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3312+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3313+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3314+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3315+DROP TABLE IF EXISTS `t2`;
3316+/*!40101 SET @saved_cs_client = @@character_set_client */;
3317+/*!40101 SET character_set_client = utf8 */;
3318+CREATE TABLE `t2` (
3319+ `a` int(11) DEFAULT NULL
3320+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3321+/*!40101 SET character_set_client = @saved_cs_client */;
3322+
3323+LOCK TABLES `t2` WRITE;
3324+/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
3325+INSERT INTO `t2` VALUES (4),(5),(6);
3326+/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
3327+UNLOCK TABLES;
3328+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3329+
3330+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3331+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3332+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3333+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3334+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3335+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3336+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3337+
3338+DROP TABLE t1;
3339+DROP TABLE t2;
3340+#
3341+# Bug#8830 mysqldump --skip-extended-insert causes --hex-blob to dump wrong values
3342+#
3343+CREATE TABLE t1 (`b` blob);
3344+INSERT INTO `t1` VALUES (0x602010000280100005E71A);
3345+
3346+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3347+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3348+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3349+/*!40101 SET NAMES utf8 */;
3350+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3351+/*!40103 SET TIME_ZONE='+00:00' */;
3352+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3353+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3354+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3355+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3356+DROP TABLE IF EXISTS `t1`;
3357+/*!40101 SET @saved_cs_client = @@character_set_client */;
3358+/*!40101 SET character_set_client = utf8 */;
3359+CREATE TABLE `t1` (
3360+ `b` blob
3361+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3362+/*!40101 SET character_set_client = @saved_cs_client */;
3363+
3364+LOCK TABLES `t1` WRITE;
3365+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3366+INSERT INTO `t1` VALUES (0x602010000280100005E71A);
3367+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3368+UNLOCK TABLES;
3369+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3370+
3371+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3372+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3373+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3374+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3375+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3376+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3377+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3378+
3379+DROP TABLE t1;
3380+#
3381+# Test for --insert-ignore
3382+#
3383+CREATE TABLE t1 (a INT);
3384+INSERT INTO t1 VALUES (1),(2),(3);
3385+INSERT INTO t1 VALUES (4),(5),(6);
3386+
3387+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3388+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3389+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3390+/*!40101 SET NAMES utf8 */;
3391+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3392+/*!40103 SET TIME_ZONE='+00:00' */;
3393+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3394+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3395+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3396+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3397+DROP TABLE IF EXISTS `t1`;
3398+/*!40101 SET @saved_cs_client = @@character_set_client */;
3399+/*!40101 SET character_set_client = utf8 */;
3400+CREATE TABLE `t1` (
3401+ `a` int(11) DEFAULT NULL
3402+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3403+/*!40101 SET character_set_client = @saved_cs_client */;
3404+
3405+LOCK TABLES `t1` WRITE;
3406+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3407+INSERT IGNORE INTO `t1` VALUES (1),(2),(3),(4),(5),(6);
3408+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3409+UNLOCK TABLES;
3410+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3411+
3412+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3413+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3414+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3415+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3416+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3417+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3418+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3419+
3420+
3421+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3422+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3423+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3424+/*!40101 SET NAMES utf8 */;
3425+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3426+/*!40103 SET TIME_ZONE='+00:00' */;
3427+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3428+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3429+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3430+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3431+DROP TABLE IF EXISTS `t1`;
3432+/*!40101 SET @saved_cs_client = @@character_set_client */;
3433+/*!40101 SET character_set_client = utf8 */;
3434+CREATE TABLE `t1` (
3435+ `a` int(11) DEFAULT NULL
3436+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
3437+/*!40101 SET character_set_client = @saved_cs_client */;
3438+
3439+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
3440+INSERT DELAYED IGNORE INTO `t1` VALUES (1),(2),(3),(4),(5),(6);
3441+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
3442+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
3443+
3444+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
3445+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
3446+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
3447+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
3448+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
3449+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3450+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
3451+
3452+DROP TABLE t1;
3453+#
3454+# Bug#10286 mysqldump -c crashes on table that has many fields with long
3455+# names
3456+#
3457+create table t1 (
3458+F_c4ca4238a0b923820dcc509a6f75849b int,
3459+F_c81e728d9d4c2f636f067f89cc14862c int,
3460+F_eccbc87e4b5ce2fe28308fd9f2a7baf3 int,
3461+F_a87ff679a2f3e71d9181a67b7542122c int,
3462+F_e4da3b7fbbce2345d7772b0674a318d5 int,
3463+F_1679091c5a880faf6fb5e6087eb1b2dc int,
3464+F_8f14e45fceea167a5a36dedd4bea2543 int,
3465+F_c9f0f895fb98ab9159f51fd0297e236d int,
3466+F_45c48cce2e2d7fbdea1afc51c7c6ad26 int,
3467+F_d3d9446802a44259755d38e6d163e820 int,
3468+F_6512bd43d9caa6e02c990b0a82652dca int,
3469+F_c20ad4d76fe97759aa27a0c99bff6710 int,
3470+F_c51ce410c124a10e0db5e4b97fc2af39 int,
3471+F_aab3238922bcc25a6f606eb525ffdc56 int,
3472+F_9bf31c7ff062936a96d3c8bd1f8f2ff3 int,
3473+F_c74d97b01eae257e44aa9d5bade97baf int,
3474+F_70efdf2ec9b086079795c442636b55fb int,
3475+F_6f4922f45568161a8cdf4ad2299f6d23 int,
3476+F_1f0e3dad99908345f7439f8ffabdffc4 int,
3477+F_98f13708210194c475687be6106a3b84 int,
3478+F_3c59dc048e8850243be8079a5c74d079 int,
3479+F_b6d767d2f8ed5d21a44b0e5886680cb9 int,
3480+F_37693cfc748049e45d87b8c7d8b9aacd int,
3481+F_1ff1de774005f8da13f42943881c655f int,
3482+F_8e296a067a37563370ded05f5a3bf3ec int,
3483+F_4e732ced3463d06de0ca9a15b6153677 int,
3484+F_02e74f10e0327ad868d138f2b4fdd6f0 int,
3485+F_33e75ff09dd601bbe69f351039152189 int,
3486+F_6ea9ab1baa0efb9e19094440c317e21b int,
3487+F_34173cb38f07f89ddbebc2ac9128303f int,
3488+F_c16a5320fa475530d9583c34fd356ef5 int,
3489+F_6364d3f0f495b6ab9dcf8d3b5c6e0b01 int,
3490+F_182be0c5cdcd5072bb1864cdee4d3d6e int,
3491+F_e369853df766fa44e1ed0ff613f563bd int,
3492+F_1c383cd30b7c298ab50293adfecb7b18 int,
3493+F_19ca14e7ea6328a42e0eb13d585e4c22 int,
3494+F_a5bfc9e07964f8dddeb95fc584cd965d int,
3495+F_a5771bce93e200c36f7cd9dfd0e5deaa int,
3496+F_d67d8ab4f4c10bf22aa353e27879133c int,
3497+F_d645920e395fedad7bbbed0eca3fe2e0 int,
3498+F_3416a75f4cea9109507cacd8e2f2aefc int,
3499+F_a1d0c6e83f027327d8461063f4ac58a6 int,
3500+F_17e62166fc8586dfa4d1bc0e1742c08b int,
3501+F_f7177163c833dff4b38fc8d2872f1ec6 int,
3502+F_6c8349cc7260ae62e3b1396831a8398f int,
3503+F_d9d4f495e875a2e075a1a4a6e1b9770f int,
3504+F_67c6a1e7ce56d3d6fa748ab6d9af3fd7 int,
3505+F_642e92efb79421734881b53e1e1b18b6 int,
3506+F_f457c545a9ded88f18ecee47145a72c0 int,
3507+F_c0c7c76d30bd3dcaefc96f40275bdc0a int,
3508+F_2838023a778dfaecdc212708f721b788 int,
3509+F_9a1158154dfa42caddbd0694a4e9bdc8 int,
3510+F_d82c8d1619ad8176d665453cfb2e55f0 int,
3511+F_a684eceee76fc522773286a895bc8436 int,
3512+F_b53b3a3d6ab90ce0268229151c9bde11 int,
3513+F_9f61408e3afb633e50cdf1b20de6f466 int,
3514+F_72b32a1f754ba1c09b3695e0cb6cde7f int,
3515+F_66f041e16a60928b05a7e228a89c3799 int,
3516+F_093f65e080a295f8076b1c5722a46aa2 int,
3517+F_072b030ba126b2f4b2374f342be9ed44 int,
3518+F_7f39f8317fbdb1988ef4c628eba02591 int,
3519+F_44f683a84163b3523afe57c2e008bc8c int,
3520+F_03afdbd66e7929b125f8597834fa83a4 int,
3521+F_ea5d2f1c4608232e07d3aa3d998e5135 int,
3522+F_fc490ca45c00b1249bbe3554a4fdf6fb int,
3523+F_3295c76acbf4caaed33c36b1b5fc2cb1 int,
3524+F_735b90b4568125ed6c3f678819b6e058 int,
3525+F_a3f390d88e4c41f2747bfa2f1b5f87db int,
3526+F_14bfa6bb14875e45bba028a21ed38046 int,
3527+F_7cbbc409ec990f19c78c75bd1e06f215 int,
3528+F_e2c420d928d4bf8ce0ff2ec19b371514 int,
3529+F_32bb90e8976aab5298d5da10fe66f21d int,
3530+F_d2ddea18f00665ce8623e36bd4e3c7c5 int,
3531+F_ad61ab143223efbc24c7d2583be69251 int,
3532+F_d09bf41544a3365a46c9077ebb5e35c3 int,
3533+F_fbd7939d674997cdb4692d34de8633c4 int,
3534+F_28dd2c7955ce926456240b2ff0100bde int,
3535+F_35f4a8d465e6e1edc05f3d8ab658c551 int,
3536+F_d1fe173d08e959397adf34b1d77e88d7 int,
3537+F_f033ab37c30201f73f142449d037028d int,
3538+F_43ec517d68b6edd3015b3edc9a11367b int,
3539+F_9778d5d219c5080b9a6a17bef029331c int,
3540+F_fe9fc289c3ff0af142b6d3bead98a923 int,
3541+F_68d30a9594728bc39aa24be94b319d21 int,
3542+F_3ef815416f775098fe977004015c6193 int,
3543+F_93db85ed909c13838ff95ccfa94cebd9 int,
3544+F_c7e1249ffc03eb9ded908c236bd1996d int,
3545+F_2a38a4a9316c49e5a833517c45d31070 int,
3546+F_7647966b7343c29048673252e490f736 int,
3547+F_8613985ec49eb8f757ae6439e879bb2a int,
3548+F_54229abfcfa5649e7003b83dd4755294 int,
3549+F_92cc227532d17e56e07902b254dfad10 int,
3550+F_98dce83da57b0395e163467c9dae521b int,
3551+F_f4b9ec30ad9f68f89b29639786cb62ef int,
3552+F_812b4ba287f5ee0bc9d43bbf5bbe87fb int,
3553+F_26657d5ff9020d2abefe558796b99584 int,
3554+F_e2ef524fbf3d9fe611d5a8e90fefdc9c int,
3555+F_ed3d2c21991e3bef5e069713af9fa6ca int,
3556+F_ac627ab1ccbdb62ec96e702f07f6425b int,
3557+F_f899139df5e1059396431415e770c6dd int,
3558+F_38b3eff8baf56627478ec76a704e9b52 int,
3559+F_ec8956637a99787bd197eacd77acce5e int,
3560+F_6974ce5ac660610b44d9b9fed0ff9548 int,
3561+F_c9e1074f5b3f9fc8ea15d152add07294 int,
3562+F_65b9eea6e1cc6bb9f0cd2a47751a186f int,
3563+F_f0935e4cd5920aa6c7c996a5ee53a70f int,
3564+F_a97da629b098b75c294dffdc3e463904 int,
3565+F_a3c65c2974270fd093ee8a9bf8ae7d0b int,
3566+F_2723d092b63885e0d7c260cc007e8b9d int,
3567+F_5f93f983524def3dca464469d2cf9f3e int,
3568+F_698d51a19d8a121ce581499d7b701668 int,
3569+F_7f6ffaa6bb0b408017b62254211691b5 int,
3570+F_73278a4a86960eeb576a8fd4c9ec6997 int,
3571+F_5fd0b37cd7dbbb00f97ba6ce92bf5add int,
3572+F_2b44928ae11fb9384c4cf38708677c48 int,
3573+F_c45147dee729311ef5b5c3003946c48f int,
3574+F_eb160de1de89d9058fcb0b968dbbbd68 int,
3575+F_5ef059938ba799aaa845e1c2e8a762bd int,
3576+F_07e1cd7dca89a1678042477183b7ac3f int,
3577+F_da4fb5c6e93e74d3df8527599fa62642 int,
3578+F_4c56ff4ce4aaf9573aa5dff913df997a int,
3579+F_a0a080f42e6f13b3a2df133f073095dd int,
3580+F_202cb962ac59075b964b07152d234b70 int,
3581+F_c8ffe9a587b126f152ed3d89a146b445 int,
3582+F_3def184ad8f4755ff269862ea77393dd int,
3583+F_069059b7ef840f0c74a814ec9237b6ec int,
3584+F_ec5decca5ed3d6b8079e2e7e7bacc9f2 int,
3585+F_76dc611d6ebaafc66cc0879c71b5db5c int,
3586+F_d1f491a404d6854880943e5c3cd9ca25 int,
3587+F_9b8619251a19057cff70779273e95aa6 int,
3588+F_1afa34a7f984eeabdbb0a7d494132ee5 int,
3589+F_65ded5353c5ee48d0b7d48c591b8f430 int,
3590+F_9fc3d7152ba9336a670e36d0ed79bc43 int,
3591+F_02522a2b2726fb0a03bb19f2d8d9524d int,
3592+F_7f1de29e6da19d22b51c68001e7e0e54 int,
3593+F_42a0e188f5033bc65bf8d78622277c4e int,
3594+F_3988c7f88ebcb58c6ce932b957b6f332 int,
3595+F_013d407166ec4fa56eb1e1f8cbe183b9 int,
3596+F_e00da03b685a0dd18fb6a08af0923de0 int,
3597+F_1385974ed5904a438616ff7bdb3f7439 int,
3598+F_0f28b5d49b3020afeecd95b4009adf4c int,
3599+F_a8baa56554f96369ab93e4f3bb068c22 int,
3600+F_903ce9225fca3e988c2af215d4e544d3 int,
3601+F_0a09c8844ba8f0936c20bd791130d6b6 int,
3602+F_2b24d495052a8ce66358eb576b8912c8 int,
3603+F_a5e00132373a7031000fd987a3c9f87b int,
3604+F_8d5e957f297893487bd98fa830fa6413 int,
3605+F_47d1e990583c9c67424d369f3414728e int,
3606+F_f2217062e9a397a1dca429e7d70bc6ca int,
3607+F_7ef605fc8dba5425d6965fbd4c8fbe1f int,
3608+F_a8f15eda80c50adb0e71943adc8015cf int,
3609+F_37a749d808e46495a8da1e5352d03cae int,
3610+F_b3e3e393c77e35a4a3f3cbd1e429b5dc int,
3611+F_1d7f7abc18fcb43975065399b0d1e48e int,
3612+F_2a79ea27c279e471f4d180b08d62b00a int,
3613+F_1c9ac0159c94d8d0cbedc973445af2da int,
3614+F_6c4b761a28b734fe93831e3fb400ce87 int,
3615+F_06409663226af2f3114485aa4e0a23b4 int,
3616+F_140f6969d5213fd0ece03148e62e461e int,
3617+F_b73ce398c39f506af761d2277d853a92 int,
3618+F_bd4c9ab730f5513206b999ec0d90d1fb int,
3619+F_82aa4b0af34c2313a562076992e50aa3 int,
3620+F_0777d5c17d4066b82ab86dff8a46af6f int,
3621+F_fa7cdfad1a5aaf8370ebeda47a1ff1c3 int,
3622+F_9766527f2b5d3e95d4a733fcfb77bd7e int,
3623+F_7e7757b1e12abcb736ab9a754ffb617a int,
3624+F_5878a7ab84fb43402106c575658472fa int,
3625+F_006f52e9102a8d3be2fe5614f42ba989 int,
3626+F_3636638817772e42b59d74cff571fbb3 int,
3627+F_149e9677a5989fd342ae44213df68868 int,
3628+F_a4a042cf4fd6bfb47701cbc8a1653ada int,
3629+F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e int,
3630+F_f7e6c85504ce6e82442c770f7c8606f0 int,
3631+F_bf8229696f7a3bb4700cfddef19fa23f int,
3632+F_82161242827b703e6acf9c726942a1e4 int,
3633+F_38af86134b65d0f10fe33d30dd76442e int,
3634+F_96da2f590cd7246bbde0051047b0d6f7 int,
3635+F_8f85517967795eeef66c225f7883bdcb int,
3636+F_8f53295a73878494e9bc8dd6c3c7104f int,
3637+F_045117b0e0a11a242b9765e79cbf113f int,
3638+F_fc221309746013ac554571fbd180e1c8 int,
3639+F_4c5bde74a8f110656874902f07378009 int,
3640+F_cedebb6e872f539bef8c3f919874e9d7 int,
3641+F_6cdd60ea0045eb7a6ec44c54d29ed402 int,
3642+F_eecca5b6365d9607ee5a9d336962c534 int,
3643+F_9872ed9fc22fc182d371c3e9ed316094 int,
3644+F_31fefc0e570cb3860f2a6d4b38c6490d int,
3645+F_9dcb88e0137649590b755372b040afad int,
3646+F_a2557a7b2e94197ff767970b67041697 int,
3647+F_cfecdb276f634854f3ef915e2e980c31 int,
3648+F_0aa1883c6411f7873cb83dacb17b0afc int,
3649+F_58a2fc6ed39fd083f55d4182bf88826d int,
3650+F_bd686fd640be98efaae0091fa301e613 int,
3651+F_a597e50502f5ff68e3e25b9114205d4a int,
3652+F_0336dcbab05b9d5ad24f4333c7658a0e int,
3653+F_084b6fbb10729ed4da8c3d3f5a3ae7c9 int,
3654+F_85d8ce590ad8981ca2c8286f79f59954 int,
3655+F_0e65972dce68dad4d52d063967f0a705 int,
3656+F_84d9ee44e457ddef7f2c4f25dc8fa865 int,
3657+F_3644a684f98ea8fe223c713b77189a77 int,
3658+F_757b505cfd34c64c85ca5b5690ee5293 int,
3659+F_854d6fae5ee42911677c739ee1734486 int,
3660+F_e2c0be24560d78c5e599c2a9c9d0bbd2 int,
3661+F_274ad4786c3abca69fa097b85867d9a4 int,
3662+F_eae27d77ca20db309e056e3d2dcd7d69 int,
3663+F_7eabe3a1649ffa2b3ff8c02ebfd5659f int,
3664+F_69adc1e107f7f7d035d7baf04342e1ca int,
3665+F_091d584fced301b442654dd8c23b3fc9 int,
3666+F_b1d10e7bafa4421218a51b1e1f1b0ba2 int,
3667+F_6f3ef77ac0e3619e98159e9b6febf557 int,
3668+F_eb163727917cbba1eea208541a643e74 int,
3669+F_1534b76d325a8f591b52d302e7181331 int,
3670+F_979d472a84804b9f647bc185a877a8b5 int,
3671+F_ca46c1b9512a7a8315fa3c5a946e8265 int,
3672+F_3b8a614226a953a8cd9526fca6fe9ba5 int,
3673+F_45fbc6d3e05ebd93369ce542e8f2322d int,
3674+F_63dc7ed1010d3c3b8269faf0ba7491d4 int,
3675+F_e96ed478dab8595a7dbda4cbcbee168f int,
3676+F_c0e190d8267e36708f955d7ab048990d int,
3677+F_ec8ce6abb3e952a85b8551ba726a1227 int,
3678+F_060ad92489947d410d897474079c1477 int,
3679+F_bcbe3365e6ac95ea2c0343a2395834dd int,
3680+F_115f89503138416a242f40fb7d7f338e int,
3681+F_13fe9d84310e77f13a6d184dbf1232f3 int,
3682+F_d1c38a09acc34845c6be3a127a5aacaf int,
3683+F_9cfdf10e8fc047a44b08ed031e1f0ed1 int,
3684+F_705f2172834666788607efbfca35afb3 int,
3685+F_74db120f0a8e5646ef5a30154e9f6deb int,
3686+F_57aeee35c98205091e18d1140e9f38cf int,
3687+F_6da9003b743b65f4c0ccd295cc484e57 int,
3688+F_9b04d152845ec0a378394003c96da594 int,
3689+F_be83ab3ecd0db773eb2dc1b0a17836a1 int,
3690+F_e165421110ba03099a1c0393373c5b43 int,
3691+F_289dff07669d7a23de0ef88d2f7129e7 int,
3692+F_577ef1154f3240ad5b9b413aa7346a1e int,
3693+F_01161aaa0b6d1345dd8fe4e481144d84 int,
3694+F_539fd53b59e3bb12d203f45a912eeaf2 int,
3695+F_ac1dd209cbcc5e5d1c6e28598e8cbbe8 int,
3696+F_555d6702c950ecb729a966504af0a635 int,
3697+F_335f5352088d7d9bf74191e006d8e24c int,
3698+F_f340f1b1f65b6df5b5e3f94d95b11daf int,
3699+F_e4a6222cdb5b34375400904f03d8e6a5 int,
3700+F_cb70ab375662576bd1ac5aaf16b3fca4 int,
3701+F_9188905e74c28e489b44e954ec0b9bca int,
3702+F_0266e33d3f546cb5436a10798e657d97 int,
3703+F_38db3aed920cf82ab059bfccbd02be6a int,
3704+F_3cec07e9ba5f5bb252d13f5f431e4bbb int,
3705+F_621bf66ddb7c962aa0d22ac97d69b793 int,
3706+F_077e29b11be80ab57e1a2ecabb7da330 int,
3707+F_6c9882bbac1c7093bd25041881277658 int,
3708+F_19f3cd308f1455b3fa09a282e0d496f4 int,
3709+F_03c6b06952c750899bb03d998e631860 int,
3710+F_c24cd76e1ce41366a4bbe8a49b02a028 int,
3711+F_c52f1bd66cc19d05628bd8bf27af3ad6 int,
3712+F_fe131d7f5a6b38b23cc967316c13dae2 int,
3713+F_f718499c1c8cef6730f9fd03c8125cab int,
3714+F_d96409bf894217686ba124d7356686c9 int,
3715+F_502e4a16930e414107ee22b6198c578f int,
3716+F_cfa0860e83a4c3a763a7e62d825349f7 int,
3717+F_a4f23670e1833f3fdb077ca70bbd5d66 int,
3718+F_b1a59b315fc9a3002ce38bbe070ec3f5 int,
3719+F_36660e59856b4de58a219bcf4e27eba3 int,
3720+F_8c19f571e251e61cb8dd3612f26d5ecf int,
3721+F_d6baf65e0b240ce177cf70da146c8dc8 int,
3722+F_e56954b4f6347e897f954495eab16a88 int,
3723+F_f7664060cc52bc6f3d620bcedc94a4b6 int,
3724+F_eda80a3d5b344bc40f3bc04f65b7a357 int,
3725+F_8f121ce07d74717e0b1f21d122e04521 int,
3726+F_06138bc5af6023646ede0e1f7c1eac75 int,
3727+F_39059724f73a9969845dfe4146c5660e int,
3728+F_7f100b7b36092fb9b06dfb4fac360931 int,
3729+F_7a614fd06c325499f1680b9896beedeb int,
3730+F_4734ba6f3de83d861c3176a6273cac6d int,
3731+F_d947bf06a885db0d477d707121934ff8 int,
3732+F_63923f49e5241343aa7acb6a06a751e7 int,
3733+F_db8e1af0cb3aca1ae2d0018624204529 int,
3734+F_20f07591c6fcb220ffe637cda29bb3f6 int,
3735+F_07cdfd23373b17c6b337251c22b7ea57 int,
3736+F_d395771085aab05244a4fb8fd91bf4ee int,
3737+F_92c8c96e4c37100777c7190b76d28233 int,
3738+F_e3796ae838835da0b6f6ea37bcf8bcb7 int,
3739+F_6a9aeddfc689c1d0e3b9ccc3ab651bc5 int,
3740+F_0f49c89d1e7298bb9930789c8ed59d48 int,
3741+F_46ba9f2a6976570b0353203ec4474217 int,
3742+F_0e01938fc48a2cfb5f2217fbfb00722d int,
3743+F_16a5cdae362b8d27a1d8f8c7b78b4330 int,
3744+F_918317b57931b6b7a7d29490fe5ec9f9 int,
3745+F_48aedb8880cab8c45637abc7493ecddd int,
3746+F_839ab46820b524afda05122893c2fe8e int,
3747+F_f90f2aca5c640289d0a29417bcb63a37 int,
3748+F_9c838d2e45b2ad1094d42f4ef36764f6 int,
3749+F_1700002963a49da13542e0726b7bb758 int,
3750+F_53c3bce66e43be4f209556518c2fcb54 int,
3751+F_6883966fd8f918a4aa29be29d2c386fb int,
3752+F_49182f81e6a13cf5eaa496d51fea6406 int,
3753+F_d296c101daa88a51f6ca8cfc1ac79b50 int,
3754+F_9fd81843ad7f202f26c1a174c7357585 int,
3755+F_26e359e83860db1d11b6acca57d8ea88 int,
3756+F_ef0d3930a7b6c95bd2b32ed45989c61f int,
3757+F_94f6d7e04a4d452035300f18b984988c int,
3758+F_34ed066df378efacc9b924ec161e7639 int,
3759+F_577bcc914f9e55d5e4e4f82f9f00e7d4 int,
3760+F_11b9842e0a271ff252c1903e7132cd68 int,
3761+F_37bc2f75bf1bcfe8450a1a41c200364c int,
3762+F_496e05e1aea0a9c4655800e8a7b9ea28 int,
3763+F_b2eb7349035754953b57a32e2841bda5 int,
3764+F_8e98d81f8217304975ccb23337bb5761 int,
3765+F_a8c88a0055f636e4a163a5e3d16adab7 int,
3766+F_eddea82ad2755b24c4e168c5fc2ebd40 int,
3767+F_06eb61b839a0cefee4967c67ccb099dc int,
3768+F_9dfcd5e558dfa04aaf37f137a1d9d3e5 int,
3769+F_950a4152c2b4aa3ad78bdd6b366cc179 int,
3770+F_158f3069a435b314a80bdcb024f8e422 int,
3771+F_758874998f5bd0c393da094e1967a72b int,
3772+F_ad13a2a07ca4b7642959dc0c4c740ab6 int,
3773+F_3fe94a002317b5f9259f82690aeea4cd int,
3774+F_5b8add2a5d98b1a652ea7fd72d942dac int,
3775+F_432aca3a1e345e339f35a30c8f65edce int,
3776+F_8d3bba7425e7c98c50f52ca1b52d3735 int,
3777+F_320722549d1751cf3f247855f937b982 int,
3778+F_caf1a3dfb505ffed0d024130f58c5cfa int,
3779+F_5737c6ec2e0716f3d8a7a5c4e0de0d9a int,
3780+F_bc6dc48b743dc5d013b1abaebd2faed2 int,
3781+F_f2fc990265c712c49d51a18a32b39f0c int,
3782+F_89f0fd5c927d466d6ec9a21b9ac34ffa int,
3783+F_a666587afda6e89aec274a3657558a27 int,
3784+F_b83aac23b9528732c23cc7352950e880 int,
3785+F_cd00692c3bfe59267d5ecfac5310286c int,
3786+F_6faa8040da20ef399b63a72d0e4ab575 int,
3787+F_fe73f687e5bc5280214e0486b273a5f9 int);
3788+insert into t1 (F_8d3bba7425e7c98c50f52ca1b52d3735) values (1);
3789+
3790+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
3791+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
3792+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
3793+/*!40101 SET NAMES utf8 */;
3794+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
3795+/*!40103 SET TIME_ZONE='+00:00' */;
3796+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
3797+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
3798+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
3799+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
3800+DROP TABLE IF EXISTS `t1`;
3801+/*!40101 SET @saved_cs_client = @@character_set_client */;
3802+/*!40101 SET character_set_client = utf8 */;
3803+CREATE TABLE `t1` (
3804+ `F_c4ca4238a0b923820dcc509a6f75849b` int(11) DEFAULT NULL,
3805+ `F_c81e728d9d4c2f636f067f89cc14862c` int(11) DEFAULT NULL,
3806+ `F_eccbc87e4b5ce2fe28308fd9f2a7baf3` int(11) DEFAULT NULL,
3807+ `F_a87ff679a2f3e71d9181a67b7542122c` int(11) DEFAULT NULL,
3808+ `F_e4da3b7fbbce2345d7772b0674a318d5` int(11) DEFAULT NULL,
3809+ `F_1679091c5a880faf6fb5e6087eb1b2dc` int(11) DEFAULT NULL,
3810+ `F_8f14e45fceea167a5a36dedd4bea2543` int(11) DEFAULT NULL,
3811+ `F_c9f0f895fb98ab9159f51fd0297e236d` int(11) DEFAULT NULL,
3812+ `F_45c48cce2e2d7fbdea1afc51c7c6ad26` int(11) DEFAULT NULL,
3813+ `F_d3d9446802a44259755d38e6d163e820` int(11) DEFAULT NULL,
3814+ `F_6512bd43d9caa6e02c990b0a82652dca` int(11) DEFAULT NULL,
3815+ `F_c20ad4d76fe97759aa27a0c99bff6710` int(11) DEFAULT NULL,
3816+ `F_c51ce410c124a10e0db5e4b97fc2af39` int(11) DEFAULT NULL,
3817+ `F_aab3238922bcc25a6f606eb525ffdc56` int(11) DEFAULT NULL,
3818+ `F_9bf31c7ff062936a96d3c8bd1f8f2ff3` int(11) DEFAULT NULL,
3819+ `F_c74d97b01eae257e44aa9d5bade97baf` int(11) DEFAULT NULL,
3820+ `F_70efdf2ec9b086079795c442636b55fb` int(11) DEFAULT NULL,
3821+ `F_6f4922f45568161a8cdf4ad2299f6d23` int(11) DEFAULT NULL,
3822+ `F_1f0e3dad99908345f7439f8ffabdffc4` int(11) DEFAULT NULL,
3823+ `F_98f13708210194c475687be6106a3b84` int(11) DEFAULT NULL,
3824+ `F_3c59dc048e8850243be8079a5c74d079` int(11) DEFAULT NULL,
3825+ `F_b6d767d2f8ed5d21a44b0e5886680cb9` int(11) DEFAULT NULL,
3826+ `F_37693cfc748049e45d87b8c7d8b9aacd` int(11) DEFAULT NULL,
3827+ `F_1ff1de774005f8da13f42943881c655f` int(11) DEFAULT NULL,
3828+ `F_8e296a067a37563370ded05f5a3bf3ec` int(11) DEFAULT NULL,
3829+ `F_4e732ced3463d06de0ca9a15b6153677` int(11) DEFAULT NULL,
3830+ `F_02e74f10e0327ad868d138f2b4fdd6f0` int(11) DEFAULT NULL,
3831+ `F_33e75ff09dd601bbe69f351039152189` int(11) DEFAULT NULL,
3832+ `F_6ea9ab1baa0efb9e19094440c317e21b` int(11) DEFAULT NULL,
3833+ `F_34173cb38f07f89ddbebc2ac9128303f` int(11) DEFAULT NULL,
3834+ `F_c16a5320fa475530d9583c34fd356ef5` int(11) DEFAULT NULL,
3835+ `F_6364d3f0f495b6ab9dcf8d3b5c6e0b01` int(11) DEFAULT NULL,
3836+ `F_182be0c5cdcd5072bb1864cdee4d3d6e` int(11) DEFAULT NULL,
3837+ `F_e369853df766fa44e1ed0ff613f563bd` int(11) DEFAULT NULL,
3838+ `F_1c383cd30b7c298ab50293adfecb7b18` int(11) DEFAULT NULL,
3839+ `F_19ca14e7ea6328a42e0eb13d585e4c22` int(11) DEFAULT NULL,
3840+ `F_a5bfc9e07964f8dddeb95fc584cd965d` int(11) DEFAULT NULL,
3841+ `F_a5771bce93e200c36f7cd9dfd0e5deaa` int(11) DEFAULT NULL,
3842+ `F_d67d8ab4f4c10bf22aa353e27879133c` int(11) DEFAULT NULL,
3843+ `F_d645920e395fedad7bbbed0eca3fe2e0` int(11) DEFAULT NULL,
3844+ `F_3416a75f4cea9109507cacd8e2f2aefc` int(11) DEFAULT NULL,
3845+ `F_a1d0c6e83f027327d8461063f4ac58a6` int(11) DEFAULT NULL,
3846+ `F_17e62166fc8586dfa4d1bc0e1742c08b` int(11) DEFAULT NULL,
3847+ `F_f7177163c833dff4b38fc8d2872f1ec6` int(11) DEFAULT NULL,
3848+ `F_6c8349cc7260ae62e3b1396831a8398f` int(11) DEFAULT NULL,
3849+ `F_d9d4f495e875a2e075a1a4a6e1b9770f` int(11) DEFAULT NULL,
3850+ `F_67c6a1e7ce56d3d6fa748ab6d9af3fd7` int(11) DEFAULT NULL,
3851+ `F_642e92efb79421734881b53e1e1b18b6` int(11) DEFAULT NULL,
3852+ `F_f457c545a9ded88f18ecee47145a72c0` int(11) DEFAULT NULL,
3853+ `F_c0c7c76d30bd3dcaefc96f40275bdc0a` int(11) DEFAULT NULL,
3854+ `F_2838023a778dfaecdc212708f721b788` int(11) DEFAULT NULL,
3855+ `F_9a1158154dfa42caddbd0694a4e9bdc8` int(11) DEFAULT NULL,
3856+ `F_d82c8d1619ad8176d665453cfb2e55f0` int(11) DEFAULT NULL,
3857+ `F_a684eceee76fc522773286a895bc8436` int(11) DEFAULT NULL,
3858+ `F_b53b3a3d6ab90ce0268229151c9bde11` int(11) DEFAULT NULL,
3859+ `F_9f61408e3afb633e50cdf1b20de6f466` int(11) DEFAULT NULL,
3860+ `F_72b32a1f754ba1c09b3695e0cb6cde7f` int(11) DEFAULT NULL,
3861+ `F_66f041e16a60928b05a7e228a89c3799` int(11) DEFAULT NULL,
3862+ `F_093f65e080a295f8076b1c5722a46aa2` int(11) DEFAULT NULL,
3863+ `F_072b030ba126b2f4b2374f342be9ed44` int(11) DEFAULT NULL,
3864+ `F_7f39f8317fbdb1988ef4c628eba02591` int(11) DEFAULT NULL,
3865+ `F_44f683a84163b3523afe57c2e008bc8c` int(11) DEFAULT NULL,
3866+ `F_03afdbd66e7929b125f8597834fa83a4` int(11) DEFAULT NULL,
3867+ `F_ea5d2f1c4608232e07d3aa3d998e5135` int(11) DEFAULT NULL,
3868+ `F_fc490ca45c00b1249bbe3554a4fdf6fb` int(11) DEFAULT NULL,
3869+ `F_3295c76acbf4caaed33c36b1b5fc2cb1` int(11) DEFAULT NULL,
3870+ `F_735b90b4568125ed6c3f678819b6e058` int(11) DEFAULT NULL,
3871+ `F_a3f390d88e4c41f2747bfa2f1b5f87db` int(11) DEFAULT NULL,
3872+ `F_14bfa6bb14875e45bba028a21ed38046` int(11) DEFAULT NULL,
3873+ `F_7cbbc409ec990f19c78c75bd1e06f215` int(11) DEFAULT NULL,
3874+ `F_e2c420d928d4bf8ce0ff2ec19b371514` int(11) DEFAULT NULL,
3875+ `F_32bb90e8976aab5298d5da10fe66f21d` int(11) DEFAULT NULL,
3876+ `F_d2ddea18f00665ce8623e36bd4e3c7c5` int(11) DEFAULT NULL,
3877+ `F_ad61ab143223efbc24c7d2583be69251` int(11) DEFAULT NULL,
3878+ `F_d09bf41544a3365a46c9077ebb5e35c3` int(11) DEFAULT NULL,
3879+ `F_fbd7939d674997cdb4692d34de8633c4` int(11) DEFAULT NULL,
3880+ `F_28dd2c7955ce926456240b2ff0100bde` int(11) DEFAULT NULL,
3881+ `F_35f4a8d465e6e1edc05f3d8ab658c551` int(11) DEFAULT NULL,
3882+ `F_d1fe173d08e959397adf34b1d77e88d7` int(11) DEFAULT NULL,
3883+ `F_f033ab37c30201f73f142449d037028d` int(11) DEFAULT NULL,
3884+ `F_43ec517d68b6edd3015b3edc9a11367b` int(11) DEFAULT NULL,
3885+ `F_9778d5d219c5080b9a6a17bef029331c` int(11) DEFAULT NULL,
3886+ `F_fe9fc289c3ff0af142b6d3bead98a923` int(11) DEFAULT NULL,
3887+ `F_68d30a9594728bc39aa24be94b319d21` int(11) DEFAULT NULL,
3888+ `F_3ef815416f775098fe977004015c6193` int(11) DEFAULT NULL,
3889+ `F_93db85ed909c13838ff95ccfa94cebd9` int(11) DEFAULT NULL,
3890+ `F_c7e1249ffc03eb9ded908c236bd1996d` int(11) DEFAULT NULL,
3891+ `F_2a38a4a9316c49e5a833517c45d31070` int(11) DEFAULT NULL,
3892+ `F_7647966b7343c29048673252e490f736` int(11) DEFAULT NULL,
3893+ `F_8613985ec49eb8f757ae6439e879bb2a` int(11) DEFAULT NULL,
3894+ `F_54229abfcfa5649e7003b83dd4755294` int(11) DEFAULT NULL,
3895+ `F_92cc227532d17e56e07902b254dfad10` int(11) DEFAULT NULL,
3896+ `F_98dce83da57b0395e163467c9dae521b` int(11) DEFAULT NULL,
3897+ `F_f4b9ec30ad9f68f89b29639786cb62ef` int(11) DEFAULT NULL,
3898+ `F_812b4ba287f5ee0bc9d43bbf5bbe87fb` int(11) DEFAULT NULL,
3899+ `F_26657d5ff9020d2abefe558796b99584` int(11) DEFAULT NULL,
3900+ `F_e2ef524fbf3d9fe611d5a8e90fefdc9c` int(11) DEFAULT NULL,
3901+ `F_ed3d2c21991e3bef5e069713af9fa6ca` int(11) DEFAULT NULL,
3902+ `F_ac627ab1ccbdb62ec96e702f07f6425b` int(11) DEFAULT NULL,
3903+ `F_f899139df5e1059396431415e770c6dd` int(11) DEFAULT NULL,
3904+ `F_38b3eff8baf56627478ec76a704e9b52` int(11) DEFAULT NULL,
3905+ `F_ec8956637a99787bd197eacd77acce5e` int(11) DEFAULT NULL,
3906+ `F_6974ce5ac660610b44d9b9fed0ff9548` int(11) DEFAULT NULL,
3907+ `F_c9e1074f5b3f9fc8ea15d152add07294` int(11) DEFAULT NULL,
3908+ `F_65b9eea6e1cc6bb9f0cd2a47751a186f` int(11) DEFAULT NULL,
3909+ `F_f0935e4cd5920aa6c7c996a5ee53a70f` int(11) DEFAULT NULL,
3910+ `F_a97da629b098b75c294dffdc3e463904` int(11) DEFAULT NULL,
3911+ `F_a3c65c2974270fd093ee8a9bf8ae7d0b` int(11) DEFAULT NULL,
3912+ `F_2723d092b63885e0d7c260cc007e8b9d` int(11) DEFAULT NULL,
3913+ `F_5f93f983524def3dca464469d2cf9f3e` int(11) DEFAULT NULL,
3914+ `F_698d51a19d8a121ce581499d7b701668` int(11) DEFAULT NULL,
3915+ `F_7f6ffaa6bb0b408017b62254211691b5` int(11) DEFAULT NULL,
3916+ `F_73278a4a86960eeb576a8fd4c9ec6997` int(11) DEFAULT NULL,
3917+ `F_5fd0b37cd7dbbb00f97ba6ce92bf5add` int(11) DEFAULT NULL,
3918+ `F_2b44928ae11fb9384c4cf38708677c48` int(11) DEFAULT NULL,
3919+ `F_c45147dee729311ef5b5c3003946c48f` int(11) DEFAULT NULL,
3920+ `F_eb160de1de89d9058fcb0b968dbbbd68` int(11) DEFAULT NULL,
3921+ `F_5ef059938ba799aaa845e1c2e8a762bd` int(11) DEFAULT NULL,
3922+ `F_07e1cd7dca89a1678042477183b7ac3f` int(11) DEFAULT NULL,
3923+ `F_da4fb5c6e93e74d3df8527599fa62642` int(11) DEFAULT NULL,
3924+ `F_4c56ff4ce4aaf9573aa5dff913df997a` int(11) DEFAULT NULL,
3925+ `F_a0a080f42e6f13b3a2df133f073095dd` int(11) DEFAULT NULL,
3926+ `F_202cb962ac59075b964b07152d234b70` int(11) DEFAULT NULL,
3927+ `F_c8ffe9a587b126f152ed3d89a146b445` int(11) DEFAULT NULL,
3928+ `F_3def184ad8f4755ff269862ea77393dd` int(11) DEFAULT NULL,
3929+ `F_069059b7ef840f0c74a814ec9237b6ec` int(11) DEFAULT NULL,
3930+ `F_ec5decca5ed3d6b8079e2e7e7bacc9f2` int(11) DEFAULT NULL,
3931+ `F_76dc611d6ebaafc66cc0879c71b5db5c` int(11) DEFAULT NULL,
3932+ `F_d1f491a404d6854880943e5c3cd9ca25` int(11) DEFAULT NULL,
3933+ `F_9b8619251a19057cff70779273e95aa6` int(11) DEFAULT NULL,
3934+ `F_1afa34a7f984eeabdbb0a7d494132ee5` int(11) DEFAULT NULL,
3935+ `F_65ded5353c5ee48d0b7d48c591b8f430` int(11) DEFAULT NULL,
3936+ `F_9fc3d7152ba9336a670e36d0ed79bc43` int(11) DEFAULT NULL,
3937+ `F_02522a2b2726fb0a03bb19f2d8d9524d` int(11) DEFAULT NULL,
3938+ `F_7f1de29e6da19d22b51c68001e7e0e54` int(11) DEFAULT NULL,
3939+ `F_42a0e188f5033bc65bf8d78622277c4e` int(11) DEFAULT NULL,
3940+ `F_3988c7f88ebcb58c6ce932b957b6f332` int(11) DEFAULT NULL,
3941+ `F_013d407166ec4fa56eb1e1f8cbe183b9` int(11) DEFAULT NULL,
3942+ `F_e00da03b685a0dd18fb6a08af0923de0` int(11) DEFAULT NULL,
3943+ `F_1385974ed5904a438616ff7bdb3f7439` int(11) DEFAULT NULL,
3944+ `F_0f28b5d49b3020afeecd95b4009adf4c` int(11) DEFAULT NULL,
3945+ `F_a8baa56554f96369ab93e4f3bb068c22` int(11) DEFAULT NULL,
3946+ `F_903ce9225fca3e988c2af215d4e544d3` int(11) DEFAULT NULL,
3947+ `F_0a09c8844ba8f0936c20bd791130d6b6` int(11) DEFAULT NULL,
3948+ `F_2b24d495052a8ce66358eb576b8912c8` int(11) DEFAULT NULL,
3949+ `F_a5e00132373a7031000fd987a3c9f87b` int(11) DEFAULT NULL,
3950+ `F_8d5e957f297893487bd98fa830fa6413` int(11) DEFAULT NULL,
3951+ `F_47d1e990583c9c67424d369f3414728e` int(11) DEFAULT NULL,
3952+ `F_f2217062e9a397a1dca429e7d70bc6ca` int(11) DEFAULT NULL,
3953+ `F_7ef605fc8dba5425d6965fbd4c8fbe1f` int(11) DEFAULT NULL,
3954+ `F_a8f15eda80c50adb0e71943adc8015cf` int(11) DEFAULT NULL,
3955+ `F_37a749d808e46495a8da1e5352d03cae` int(11) DEFAULT NULL,
3956+ `F_b3e3e393c77e35a4a3f3cbd1e429b5dc` int(11) DEFAULT NULL,
3957+ `F_1d7f7abc18fcb43975065399b0d1e48e` int(11) DEFAULT NULL,
3958+ `F_2a79ea27c279e471f4d180b08d62b00a` int(11) DEFAULT NULL,
3959+ `F_1c9ac0159c94d8d0cbedc973445af2da` int(11) DEFAULT NULL,
3960+ `F_6c4b761a28b734fe93831e3fb400ce87` int(11) DEFAULT NULL,
3961+ `F_06409663226af2f3114485aa4e0a23b4` int(11) DEFAULT NULL,
3962+ `F_140f6969d5213fd0ece03148e62e461e` int(11) DEFAULT NULL,
3963+ `F_b73ce398c39f506af761d2277d853a92` int(11) DEFAULT NULL,
3964+ `F_bd4c9ab730f5513206b999ec0d90d1fb` int(11) DEFAULT NULL,
3965+ `F_82aa4b0af34c2313a562076992e50aa3` int(11) DEFAULT NULL,
3966+ `F_0777d5c17d4066b82ab86dff8a46af6f` int(11) DEFAULT NULL,
3967+ `F_fa7cdfad1a5aaf8370ebeda47a1ff1c3` int(11) DEFAULT NULL,
3968+ `F_9766527f2b5d3e95d4a733fcfb77bd7e` int(11) DEFAULT NULL,
3969+ `F_7e7757b1e12abcb736ab9a754ffb617a` int(11) DEFAULT NULL,
3970+ `F_5878a7ab84fb43402106c575658472fa` int(11) DEFAULT NULL,
3971+ `F_006f52e9102a8d3be2fe5614f42ba989` int(11) DEFAULT NULL,
3972+ `F_3636638817772e42b59d74cff571fbb3` int(11) DEFAULT NULL,
3973+ `F_149e9677a5989fd342ae44213df68868` int(11) DEFAULT NULL,
3974+ `F_a4a042cf4fd6bfb47701cbc8a1653ada` int(11) DEFAULT NULL,
3975+ `F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e` int(11) DEFAULT NULL,
3976+ `F_f7e6c85504ce6e82442c770f7c8606f0` int(11) DEFAULT NULL,
3977+ `F_bf8229696f7a3bb4700cfddef19fa23f` int(11) DEFAULT NULL,
3978+ `F_82161242827b703e6acf9c726942a1e4` int(11) DEFAULT NULL,
3979+ `F_38af86134b65d0f10fe33d30dd76442e` int(11) DEFAULT NULL,
3980+ `F_96da2f590cd7246bbde0051047b0d6f7` int(11) DEFAULT NULL,
3981+ `F_8f85517967795eeef66c225f7883bdcb` int(11) DEFAULT NULL,
3982+ `F_8f53295a73878494e9bc8dd6c3c7104f` int(11) DEFAULT NULL,
3983+ `F_045117b0e0a11a242b9765e79cbf113f` int(11) DEFAULT NULL,
3984+ `F_fc221309746013ac554571fbd180e1c8` int(11) DEFAULT NULL,
3985+ `F_4c5bde74a8f110656874902f07378009` int(11) DEFAULT NULL,
3986+ `F_cedebb6e872f539bef8c3f919874e9d7` int(11) DEFAULT NULL,
3987+ `F_6cdd60ea0045eb7a6ec44c54d29ed402` int(11) DEFAULT NULL,
3988+ `F_eecca5b6365d9607ee5a9d336962c534` int(11) DEFAULT NULL,
3989+ `F_9872ed9fc22fc182d371c3e9ed316094` int(11) DEFAULT NULL,
3990+ `F_31fefc0e570cb3860f2a6d4b38c6490d` int(11) DEFAULT NULL,
3991+ `F_9dcb88e0137649590b755372b040afad` int(11) DEFAULT NULL,
3992+ `F_a2557a7b2e94197ff767970b67041697` int(11) DEFAULT NULL,
3993+ `F_cfecdb276f634854f3ef915e2e980c31` int(11) DEFAULT NULL,
3994+ `F_0aa1883c6411f7873cb83dacb17b0afc` int(11) DEFAULT NULL,
3995+ `F_58a2fc6ed39fd083f55d4182bf88826d` int(11) DEFAULT NULL,
3996+ `F_bd686fd640be98efaae0091fa301e613` int(11) DEFAULT NULL,
3997+ `F_a597e50502f5ff68e3e25b9114205d4a` int(11) DEFAULT NULL,
3998+ `F_0336dcbab05b9d5ad24f4333c7658a0e` int(11) DEFAULT NULL,
3999+ `F_084b6fbb10729ed4da8c3d3f5a3ae7c9` int(11) DEFAULT NULL,
4000+ `F_85d8ce590ad8981ca2c8286f79f59954` int(11) DEFAULT NULL,
4001+ `F_0e65972dce68dad4d52d063967f0a705` int(11) DEFAULT NULL,
4002+ `F_84d9ee44e457ddef7f2c4f25dc8fa865` int(11) DEFAULT NULL,
4003+ `F_3644a684f98ea8fe223c713b77189a77` int(11) DEFAULT NULL,
4004+ `F_757b505cfd34c64c85ca5b5690ee5293` int(11) DEFAULT NULL,
4005+ `F_854d6fae5ee42911677c739ee1734486` int(11) DEFAULT NULL,
4006+ `F_e2c0be24560d78c5e599c2a9c9d0bbd2` int(11) DEFAULT NULL,
4007+ `F_274ad4786c3abca69fa097b85867d9a4` int(11) DEFAULT NULL,
4008+ `F_eae27d77ca20db309e056e3d2dcd7d69` int(11) DEFAULT NULL,
4009+ `F_7eabe3a1649ffa2b3ff8c02ebfd5659f` int(11) DEFAULT NULL,
4010+ `F_69adc1e107f7f7d035d7baf04342e1ca` int(11) DEFAULT NULL,
4011+ `F_091d584fced301b442654dd8c23b3fc9` int(11) DEFAULT NULL,
4012+ `F_b1d10e7bafa4421218a51b1e1f1b0ba2` int(11) DEFAULT NULL,
4013+ `F_6f3ef77ac0e3619e98159e9b6febf557` int(11) DEFAULT NULL,
4014+ `F_eb163727917cbba1eea208541a643e74` int(11) DEFAULT NULL,
4015+ `F_1534b76d325a8f591b52d302e7181331` int(11) DEFAULT NULL,
4016+ `F_979d472a84804b9f647bc185a877a8b5` int(11) DEFAULT NULL,
4017+ `F_ca46c1b9512a7a8315fa3c5a946e8265` int(11) DEFAULT NULL,
4018+ `F_3b8a614226a953a8cd9526fca6fe9ba5` int(11) DEFAULT NULL,
4019+ `F_45fbc6d3e05ebd93369ce542e8f2322d` int(11) DEFAULT NULL,
4020+ `F_63dc7ed1010d3c3b8269faf0ba7491d4` int(11) DEFAULT NULL,
4021+ `F_e96ed478dab8595a7dbda4cbcbee168f` int(11) DEFAULT NULL,
4022+ `F_c0e190d8267e36708f955d7ab048990d` int(11) DEFAULT NULL,
4023+ `F_ec8ce6abb3e952a85b8551ba726a1227` int(11) DEFAULT NULL,
4024+ `F_060ad92489947d410d897474079c1477` int(11) DEFAULT NULL,
4025+ `F_bcbe3365e6ac95ea2c0343a2395834dd` int(11) DEFAULT NULL,
4026+ `F_115f89503138416a242f40fb7d7f338e` int(11) DEFAULT NULL,
4027+ `F_13fe9d84310e77f13a6d184dbf1232f3` int(11) DEFAULT NULL,
4028+ `F_d1c38a09acc34845c6be3a127a5aacaf` int(11) DEFAULT NULL,
4029+ `F_9cfdf10e8fc047a44b08ed031e1f0ed1` int(11) DEFAULT NULL,
4030+ `F_705f2172834666788607efbfca35afb3` int(11) DEFAULT NULL,
4031+ `F_74db120f0a8e5646ef5a30154e9f6deb` int(11) DEFAULT NULL,
4032+ `F_57aeee35c98205091e18d1140e9f38cf` int(11) DEFAULT NULL,
4033+ `F_6da9003b743b65f4c0ccd295cc484e57` int(11) DEFAULT NULL,
4034+ `F_9b04d152845ec0a378394003c96da594` int(11) DEFAULT NULL,
4035+ `F_be83ab3ecd0db773eb2dc1b0a17836a1` int(11) DEFAULT NULL,
4036+ `F_e165421110ba03099a1c0393373c5b43` int(11) DEFAULT NULL,
4037+ `F_289dff07669d7a23de0ef88d2f7129e7` int(11) DEFAULT NULL,
4038+ `F_577ef1154f3240ad5b9b413aa7346a1e` int(11) DEFAULT NULL,
4039+ `F_01161aaa0b6d1345dd8fe4e481144d84` int(11) DEFAULT NULL,
4040+ `F_539fd53b59e3bb12d203f45a912eeaf2` int(11) DEFAULT NULL,
4041+ `F_ac1dd209cbcc5e5d1c6e28598e8cbbe8` int(11) DEFAULT NULL,
4042+ `F_555d6702c950ecb729a966504af0a635` int(11) DEFAULT NULL,
4043+ `F_335f5352088d7d9bf74191e006d8e24c` int(11) DEFAULT NULL,
4044+ `F_f340f1b1f65b6df5b5e3f94d95b11daf` int(11) DEFAULT NULL,
4045+ `F_e4a6222cdb5b34375400904f03d8e6a5` int(11) DEFAULT NULL,
4046+ `F_cb70ab375662576bd1ac5aaf16b3fca4` int(11) DEFAULT NULL,
4047+ `F_9188905e74c28e489b44e954ec0b9bca` int(11) DEFAULT NULL,
4048+ `F_0266e33d3f546cb5436a10798e657d97` int(11) DEFAULT NULL,
4049+ `F_38db3aed920cf82ab059bfccbd02be6a` int(11) DEFAULT NULL,
4050+ `F_3cec07e9ba5f5bb252d13f5f431e4bbb` int(11) DEFAULT NULL,
4051+ `F_621bf66ddb7c962aa0d22ac97d69b793` int(11) DEFAULT NULL,
4052+ `F_077e29b11be80ab57e1a2ecabb7da330` int(11) DEFAULT NULL,
4053+ `F_6c9882bbac1c7093bd25041881277658` int(11) DEFAULT NULL,
4054+ `F_19f3cd308f1455b3fa09a282e0d496f4` int(11) DEFAULT NULL,
4055+ `F_03c6b06952c750899bb03d998e631860` int(11) DEFAULT NULL,
4056+ `F_c24cd76e1ce41366a4bbe8a49b02a028` int(11) DEFAULT NULL,
4057+ `F_c52f1bd66cc19d05628bd8bf27af3ad6` int(11) DEFAULT NULL,
4058+ `F_fe131d7f5a6b38b23cc967316c13dae2` int(11) DEFAULT NULL,
4059+ `F_f718499c1c8cef6730f9fd03c8125cab` int(11) DEFAULT NULL,
4060+ `F_d96409bf894217686ba124d7356686c9` int(11) DEFAULT NULL,
4061+ `F_502e4a16930e414107ee22b6198c578f` int(11) DEFAULT NULL,
4062+ `F_cfa0860e83a4c3a763a7e62d825349f7` int(11) DEFAULT NULL,
4063+ `F_a4f23670e1833f3fdb077ca70bbd5d66` int(11) DEFAULT NULL,
4064+ `F_b1a59b315fc9a3002ce38bbe070ec3f5` int(11) DEFAULT NULL,
4065+ `F_36660e59856b4de58a219bcf4e27eba3` int(11) DEFAULT NULL,
4066+ `F_8c19f571e251e61cb8dd3612f26d5ecf` int(11) DEFAULT NULL,
4067+ `F_d6baf65e0b240ce177cf70da146c8dc8` int(11) DEFAULT NULL,
4068+ `F_e56954b4f6347e897f954495eab16a88` int(11) DEFAULT NULL,
4069+ `F_f7664060cc52bc6f3d620bcedc94a4b6` int(11) DEFAULT NULL,
4070+ `F_eda80a3d5b344bc40f3bc04f65b7a357` int(11) DEFAULT NULL,
4071+ `F_8f121ce07d74717e0b1f21d122e04521` int(11) DEFAULT NULL,
4072+ `F_06138bc5af6023646ede0e1f7c1eac75` int(11) DEFAULT NULL,
4073+ `F_39059724f73a9969845dfe4146c5660e` int(11) DEFAULT NULL,
4074+ `F_7f100b7b36092fb9b06dfb4fac360931` int(11) DEFAULT NULL,
4075+ `F_7a614fd06c325499f1680b9896beedeb` int(11) DEFAULT NULL,
4076+ `F_4734ba6f3de83d861c3176a6273cac6d` int(11) DEFAULT NULL,
4077+ `F_d947bf06a885db0d477d707121934ff8` int(11) DEFAULT NULL,
4078+ `F_63923f49e5241343aa7acb6a06a751e7` int(11) DEFAULT NULL,
4079+ `F_db8e1af0cb3aca1ae2d0018624204529` int(11) DEFAULT NULL,
4080+ `F_20f07591c6fcb220ffe637cda29bb3f6` int(11) DEFAULT NULL,
4081+ `F_07cdfd23373b17c6b337251c22b7ea57` int(11) DEFAULT NULL,
4082+ `F_d395771085aab05244a4fb8fd91bf4ee` int(11) DEFAULT NULL,
4083+ `F_92c8c96e4c37100777c7190b76d28233` int(11) DEFAULT NULL,
4084+ `F_e3796ae838835da0b6f6ea37bcf8bcb7` int(11) DEFAULT NULL,
4085+ `F_6a9aeddfc689c1d0e3b9ccc3ab651bc5` int(11) DEFAULT NULL,
4086+ `F_0f49c89d1e7298bb9930789c8ed59d48` int(11) DEFAULT NULL,
4087+ `F_46ba9f2a6976570b0353203ec4474217` int(11) DEFAULT NULL,
4088+ `F_0e01938fc48a2cfb5f2217fbfb00722d` int(11) DEFAULT NULL,
4089+ `F_16a5cdae362b8d27a1d8f8c7b78b4330` int(11) DEFAULT NULL,
4090+ `F_918317b57931b6b7a7d29490fe5ec9f9` int(11) DEFAULT NULL,
4091+ `F_48aedb8880cab8c45637abc7493ecddd` int(11) DEFAULT NULL,
4092+ `F_839ab46820b524afda05122893c2fe8e` int(11) DEFAULT NULL,
4093+ `F_f90f2aca5c640289d0a29417bcb63a37` int(11) DEFAULT NULL,
4094+ `F_9c838d2e45b2ad1094d42f4ef36764f6` int(11) DEFAULT NULL,
4095+ `F_1700002963a49da13542e0726b7bb758` int(11) DEFAULT NULL,
4096+ `F_53c3bce66e43be4f209556518c2fcb54` int(11) DEFAULT NULL,
4097+ `F_6883966fd8f918a4aa29be29d2c386fb` int(11) DEFAULT NULL,
4098+ `F_49182f81e6a13cf5eaa496d51fea6406` int(11) DEFAULT NULL,
4099+ `F_d296c101daa88a51f6ca8cfc1ac79b50` int(11) DEFAULT NULL,
4100+ `F_9fd81843ad7f202f26c1a174c7357585` int(11) DEFAULT NULL,
4101+ `F_26e359e83860db1d11b6acca57d8ea88` int(11) DEFAULT NULL,
4102+ `F_ef0d3930a7b6c95bd2b32ed45989c61f` int(11) DEFAULT NULL,
4103+ `F_94f6d7e04a4d452035300f18b984988c` int(11) DEFAULT NULL,
4104+ `F_34ed066df378efacc9b924ec161e7639` int(11) DEFAULT NULL,
4105+ `F_577bcc914f9e55d5e4e4f82f9f00e7d4` int(11) DEFAULT NULL,
4106+ `F_11b9842e0a271ff252c1903e7132cd68` int(11) DEFAULT NULL,
4107+ `F_37bc2f75bf1bcfe8450a1a41c200364c` int(11) DEFAULT NULL,
4108+ `F_496e05e1aea0a9c4655800e8a7b9ea28` int(11) DEFAULT NULL,
4109+ `F_b2eb7349035754953b57a32e2841bda5` int(11) DEFAULT NULL,
4110+ `F_8e98d81f8217304975ccb23337bb5761` int(11) DEFAULT NULL,
4111+ `F_a8c88a0055f636e4a163a5e3d16adab7` int(11) DEFAULT NULL,
4112+ `F_eddea82ad2755b24c4e168c5fc2ebd40` int(11) DEFAULT NULL,
4113+ `F_06eb61b839a0cefee4967c67ccb099dc` int(11) DEFAULT NULL,
4114+ `F_9dfcd5e558dfa04aaf37f137a1d9d3e5` int(11) DEFAULT NULL,
4115+ `F_950a4152c2b4aa3ad78bdd6b366cc179` int(11) DEFAULT NULL,
4116+ `F_158f3069a435b314a80bdcb024f8e422` int(11) DEFAULT NULL,
4117+ `F_758874998f5bd0c393da094e1967a72b` int(11) DEFAULT NULL,
4118+ `F_ad13a2a07ca4b7642959dc0c4c740ab6` int(11) DEFAULT NULL,
4119+ `F_3fe94a002317b5f9259f82690aeea4cd` int(11) DEFAULT NULL,
4120+ `F_5b8add2a5d98b1a652ea7fd72d942dac` int(11) DEFAULT NULL,
4121+ `F_432aca3a1e345e339f35a30c8f65edce` int(11) DEFAULT NULL,
4122+ `F_8d3bba7425e7c98c50f52ca1b52d3735` int(11) DEFAULT NULL,
4123+ `F_320722549d1751cf3f247855f937b982` int(11) DEFAULT NULL,
4124+ `F_caf1a3dfb505ffed0d024130f58c5cfa` int(11) DEFAULT NULL,
4125+ `F_5737c6ec2e0716f3d8a7a5c4e0de0d9a` int(11) DEFAULT NULL,
4126+ `F_bc6dc48b743dc5d013b1abaebd2faed2` int(11) DEFAULT NULL,
4127+ `F_f2fc990265c712c49d51a18a32b39f0c` int(11) DEFAULT NULL,
4128+ `F_89f0fd5c927d466d6ec9a21b9ac34ffa` int(11) DEFAULT NULL,
4129+ `F_a666587afda6e89aec274a3657558a27` int(11) DEFAULT NULL,
4130+ `F_b83aac23b9528732c23cc7352950e880` int(11) DEFAULT NULL,
4131+ `F_cd00692c3bfe59267d5ecfac5310286c` int(11) DEFAULT NULL,
4132+ `F_6faa8040da20ef399b63a72d0e4ab575` int(11) DEFAULT NULL,
4133+ `F_fe73f687e5bc5280214e0486b273a5f9` int(11) DEFAULT NULL
4134+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4135+/*!40101 SET character_set_client = @saved_cs_client */;
4136+
4137+LOCK TABLES `t1` WRITE;
4138+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4139+INSERT INTO `t1` (`F_c4ca4238a0b923820dcc509a6f75849b`, `F_c81e728d9d4c2f636f067f89cc14862c`, `F_eccbc87e4b5ce2fe28308fd9f2a7baf3`, `F_a87ff679a2f3e71d9181a67b7542122c`, `F_e4da3b7fbbce2345d7772b0674a318d5`, `F_1679091c5a880faf6fb5e6087eb1b2dc`, `F_8f14e45fceea167a5a36dedd4bea2543`, `F_c9f0f895fb98ab9159f51fd0297e236d`, `F_45c48cce2e2d7fbdea1afc51c7c6ad26`, `F_d3d9446802a44259755d38e6d163e820`, `F_6512bd43d9caa6e02c990b0a82652dca`, `F_c20ad4d76fe97759aa27a0c99bff6710`, `F_c51ce410c124a10e0db5e4b97fc2af39`, `F_aab3238922bcc25a6f606eb525ffdc56`, `F_9bf31c7ff062936a96d3c8bd1f8f2ff3`, `F_c74d97b01eae257e44aa9d5bade97baf`, `F_70efdf2ec9b086079795c442636b55fb`, `F_6f4922f45568161a8cdf4ad2299f6d23`, `F_1f0e3dad99908345f7439f8ffabdffc4`, `F_98f13708210194c475687be6106a3b84`, `F_3c59dc048e8850243be8079a5c74d079`, `F_b6d767d2f8ed5d21a44b0e5886680cb9`, `F_37693cfc748049e45d87b8c7d8b9aacd`, `F_1ff1de774005f8da13f42943881c655f`, `F_8e296a067a37563370ded05f5a3bf3ec`, `F_4e732ced3463d06de0ca9a15b6153677`, `F_02e74f10e0327ad868d138f2b4fdd6f0`, `F_33e75ff09dd601bbe69f351039152189`, `F_6ea9ab1baa0efb9e19094440c317e21b`, `F_34173cb38f07f89ddbebc2ac9128303f`, `F_c16a5320fa475530d9583c34fd356ef5`, `F_6364d3f0f495b6ab9dcf8d3b5c6e0b01`, `F_182be0c5cdcd5072bb1864cdee4d3d6e`, `F_e369853df766fa44e1ed0ff613f563bd`, `F_1c383cd30b7c298ab50293adfecb7b18`, `F_19ca14e7ea6328a42e0eb13d585e4c22`, `F_a5bfc9e07964f8dddeb95fc584cd965d`, `F_a5771bce93e200c36f7cd9dfd0e5deaa`, `F_d67d8ab4f4c10bf22aa353e27879133c`, `F_d645920e395fedad7bbbed0eca3fe2e0`, `F_3416a75f4cea9109507cacd8e2f2aefc`, `F_a1d0c6e83f027327d8461063f4ac58a6`, `F_17e62166fc8586dfa4d1bc0e1742c08b`, `F_f7177163c833dff4b38fc8d2872f1ec6`, `F_6c8349cc7260ae62e3b1396831a8398f`, `F_d9d4f495e875a2e075a1a4a6e1b9770f`, `F_67c6a1e7ce56d3d6fa748ab6d9af3fd7`, `F_642e92efb79421734881b53e1e1b18b6`, `F_f457c545a9ded88f18ecee47145a72c0`, `F_c0c7c76d30bd3dcaefc96f40275bdc0a`, `F_2838023a778dfaecdc212708f721b788`, `F_9a1158154dfa42caddbd0694a4e9bdc8`, `F_d82c8d1619ad8176d665453cfb2e55f0`, `F_a684eceee76fc522773286a895bc8436`, `F_b53b3a3d6ab90ce0268229151c9bde11`, `F_9f61408e3afb633e50cdf1b20de6f466`, `F_72b32a1f754ba1c09b3695e0cb6cde7f`, `F_66f041e16a60928b05a7e228a89c3799`, `F_093f65e080a295f8076b1c5722a46aa2`, `F_072b030ba126b2f4b2374f342be9ed44`, `F_7f39f8317fbdb1988ef4c628eba02591`, `F_44f683a84163b3523afe57c2e008bc8c`, `F_03afdbd66e7929b125f8597834fa83a4`, `F_ea5d2f1c4608232e07d3aa3d998e5135`, `F_fc490ca45c00b1249bbe3554a4fdf6fb`, `F_3295c76acbf4caaed33c36b1b5fc2cb1`, `F_735b90b4568125ed6c3f678819b6e058`, `F_a3f390d88e4c41f2747bfa2f1b5f87db`, `F_14bfa6bb14875e45bba028a21ed38046`, `F_7cbbc409ec990f19c78c75bd1e06f215`, `F_e2c420d928d4bf8ce0ff2ec19b371514`, `F_32bb90e8976aab5298d5da10fe66f21d`, `F_d2ddea18f00665ce8623e36bd4e3c7c5`, `F_ad61ab143223efbc24c7d2583be69251`, `F_d09bf41544a3365a46c9077ebb5e35c3`, `F_fbd7939d674997cdb4692d34de8633c4`, `F_28dd2c7955ce926456240b2ff0100bde`, `F_35f4a8d465e6e1edc05f3d8ab658c551`, `F_d1fe173d08e959397adf34b1d77e88d7`, `F_f033ab37c30201f73f142449d037028d`, `F_43ec517d68b6edd3015b3edc9a11367b`, `F_9778d5d219c5080b9a6a17bef029331c`, `F_fe9fc289c3ff0af142b6d3bead98a923`, `F_68d30a9594728bc39aa24be94b319d21`, `F_3ef815416f775098fe977004015c6193`, `F_93db85ed909c13838ff95ccfa94cebd9`, `F_c7e1249ffc03eb9ded908c236bd1996d`, `F_2a38a4a9316c49e5a833517c45d31070`, `F_7647966b7343c29048673252e490f736`, `F_8613985ec49eb8f757ae6439e879bb2a`, `F_54229abfcfa5649e7003b83dd4755294`, `F_92cc227532d17e56e07902b254dfad10`, `F_98dce83da57b0395e163467c9dae521b`, `F_f4b9ec30ad9f68f89b29639786cb62ef`, `F_812b4ba287f5ee0bc9d43bbf5bbe87fb`, `F_26657d5ff9020d2abefe558796b99584`, `F_e2ef524fbf3d9fe611d5a8e90fefdc9c`, `F_ed3d2c21991e3bef5e069713af9fa6ca`, `F_ac627ab1ccbdb62ec96e702f07f6425b`, `F_f899139df5e1059396431415e770c6dd`, `F_38b3eff8baf56627478ec76a704e9b52`, `F_ec8956637a99787bd197eacd77acce5e`, `F_6974ce5ac660610b44d9b9fed0ff9548`, `F_c9e1074f5b3f9fc8ea15d152add07294`, `F_65b9eea6e1cc6bb9f0cd2a47751a186f`, `F_f0935e4cd5920aa6c7c996a5ee53a70f`, `F_a97da629b098b75c294dffdc3e463904`, `F_a3c65c2974270fd093ee8a9bf8ae7d0b`, `F_2723d092b63885e0d7c260cc007e8b9d`, `F_5f93f983524def3dca464469d2cf9f3e`, `F_698d51a19d8a121ce581499d7b701668`, `F_7f6ffaa6bb0b408017b62254211691b5`, `F_73278a4a86960eeb576a8fd4c9ec6997`, `F_5fd0b37cd7dbbb00f97ba6ce92bf5add`, `F_2b44928ae11fb9384c4cf38708677c48`, `F_c45147dee729311ef5b5c3003946c48f`, `F_eb160de1de89d9058fcb0b968dbbbd68`, `F_5ef059938ba799aaa845e1c2e8a762bd`, `F_07e1cd7dca89a1678042477183b7ac3f`, `F_da4fb5c6e93e74d3df8527599fa62642`, `F_4c56ff4ce4aaf9573aa5dff913df997a`, `F_a0a080f42e6f13b3a2df133f073095dd`, `F_202cb962ac59075b964b07152d234b70`, `F_c8ffe9a587b126f152ed3d89a146b445`, `F_3def184ad8f4755ff269862ea77393dd`, `F_069059b7ef840f0c74a814ec9237b6ec`, `F_ec5decca5ed3d6b8079e2e7e7bacc9f2`, `F_76dc611d6ebaafc66cc0879c71b5db5c`, `F_d1f491a404d6854880943e5c3cd9ca25`, `F_9b8619251a19057cff70779273e95aa6`, `F_1afa34a7f984eeabdbb0a7d494132ee5`, `F_65ded5353c5ee48d0b7d48c591b8f430`, `F_9fc3d7152ba9336a670e36d0ed79bc43`, `F_02522a2b2726fb0a03bb19f2d8d9524d`, `F_7f1de29e6da19d22b51c68001e7e0e54`, `F_42a0e188f5033bc65bf8d78622277c4e`, `F_3988c7f88ebcb58c6ce932b957b6f332`, `F_013d407166ec4fa56eb1e1f8cbe183b9`, `F_e00da03b685a0dd18fb6a08af0923de0`, `F_1385974ed5904a438616ff7bdb3f7439`, `F_0f28b5d49b3020afeecd95b4009adf4c`, `F_a8baa56554f96369ab93e4f3bb068c22`, `F_903ce9225fca3e988c2af215d4e544d3`, `F_0a09c8844ba8f0936c20bd791130d6b6`, `F_2b24d495052a8ce66358eb576b8912c8`, `F_a5e00132373a7031000fd987a3c9f87b`, `F_8d5e957f297893487bd98fa830fa6413`, `F_47d1e990583c9c67424d369f3414728e`, `F_f2217062e9a397a1dca429e7d70bc6ca`, `F_7ef605fc8dba5425d6965fbd4c8fbe1f`, `F_a8f15eda80c50adb0e71943adc8015cf`, `F_37a749d808e46495a8da1e5352d03cae`, `F_b3e3e393c77e35a4a3f3cbd1e429b5dc`, `F_1d7f7abc18fcb43975065399b0d1e48e`, `F_2a79ea27c279e471f4d180b08d62b00a`, `F_1c9ac0159c94d8d0cbedc973445af2da`, `F_6c4b761a28b734fe93831e3fb400ce87`, `F_06409663226af2f3114485aa4e0a23b4`, `F_140f6969d5213fd0ece03148e62e461e`, `F_b73ce398c39f506af761d2277d853a92`, `F_bd4c9ab730f5513206b999ec0d90d1fb`, `F_82aa4b0af34c2313a562076992e50aa3`, `F_0777d5c17d4066b82ab86dff8a46af6f`, `F_fa7cdfad1a5aaf8370ebeda47a1ff1c3`, `F_9766527f2b5d3e95d4a733fcfb77bd7e`, `F_7e7757b1e12abcb736ab9a754ffb617a`, `F_5878a7ab84fb43402106c575658472fa`, `F_006f52e9102a8d3be2fe5614f42ba989`, `F_3636638817772e42b59d74cff571fbb3`, `F_149e9677a5989fd342ae44213df68868`, `F_a4a042cf4fd6bfb47701cbc8a1653ada`, `F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e`, `F_f7e6c85504ce6e82442c770f7c8606f0`, `F_bf8229696f7a3bb4700cfddef19fa23f`, `F_82161242827b703e6acf9c726942a1e4`, `F_38af86134b65d0f10fe33d30dd76442e`, `F_96da2f590cd7246bbde0051047b0d6f7`, `F_8f85517967795eeef66c225f7883bdcb`, `F_8f53295a73878494e9bc8dd6c3c7104f`, `F_045117b0e0a11a242b9765e79cbf113f`, `F_fc221309746013ac554571fbd180e1c8`, `F_4c5bde74a8f110656874902f07378009`, `F_cedebb6e872f539bef8c3f919874e9d7`, `F_6cdd60ea0045eb7a6ec44c54d29ed402`, `F_eecca5b6365d9607ee5a9d336962c534`, `F_9872ed9fc22fc182d371c3e9ed316094`, `F_31fefc0e570cb3860f2a6d4b38c6490d`, `F_9dcb88e0137649590b755372b040afad`, `F_a2557a7b2e94197ff767970b67041697`, `F_cfecdb276f634854f3ef915e2e980c31`, `F_0aa1883c6411f7873cb83dacb17b0afc`, `F_58a2fc6ed39fd083f55d4182bf88826d`, `F_bd686fd640be98efaae0091fa301e613`, `F_a597e50502f5ff68e3e25b9114205d4a`, `F_0336dcbab05b9d5ad24f4333c7658a0e`, `F_084b6fbb10729ed4da8c3d3f5a3ae7c9`, `F_85d8ce590ad8981ca2c8286f79f59954`, `F_0e65972dce68dad4d52d063967f0a705`, `F_84d9ee44e457ddef7f2c4f25dc8fa865`, `F_3644a684f98ea8fe223c713b77189a77`, `F_757b505cfd34c64c85ca5b5690ee5293`, `F_854d6fae5ee42911677c739ee1734486`, `F_e2c0be24560d78c5e599c2a9c9d0bbd2`, `F_274ad4786c3abca69fa097b85867d9a4`, `F_eae27d77ca20db309e056e3d2dcd7d69`, `F_7eabe3a1649ffa2b3ff8c02ebfd5659f`, `F_69adc1e107f7f7d035d7baf04342e1ca`, `F_091d584fced301b442654dd8c23b3fc9`, `F_b1d10e7bafa4421218a51b1e1f1b0ba2`, `F_6f3ef77ac0e3619e98159e9b6febf557`, `F_eb163727917cbba1eea208541a643e74`, `F_1534b76d325a8f591b52d302e7181331`, `F_979d472a84804b9f647bc185a877a8b5`, `F_ca46c1b9512a7a8315fa3c5a946e8265`, `F_3b8a614226a953a8cd9526fca6fe9ba5`, `F_45fbc6d3e05ebd93369ce542e8f2322d`, `F_63dc7ed1010d3c3b8269faf0ba7491d4`, `F_e96ed478dab8595a7dbda4cbcbee168f`, `F_c0e190d8267e36708f955d7ab048990d`, `F_ec8ce6abb3e952a85b8551ba726a1227`, `F_060ad92489947d410d897474079c1477`, `F_bcbe3365e6ac95ea2c0343a2395834dd`, `F_115f89503138416a242f40fb7d7f338e`, `F_13fe9d84310e77f13a6d184dbf1232f3`, `F_d1c38a09acc34845c6be3a127a5aacaf`, `F_9cfdf10e8fc047a44b08ed031e1f0ed1`, `F_705f2172834666788607efbfca35afb3`, `F_74db120f0a8e5646ef5a30154e9f6deb`, `F_57aeee35c98205091e18d1140e9f38cf`, `F_6da9003b743b65f4c0ccd295cc484e57`, `F_9b04d152845ec0a378394003c96da594`, `F_be83ab3ecd0db773eb2dc1b0a17836a1`, `F_e165421110ba03099a1c0393373c5b43`, `F_289dff07669d7a23de0ef88d2f7129e7`, `F_577ef1154f3240ad5b9b413aa7346a1e`, `F_01161aaa0b6d1345dd8fe4e481144d84`, `F_539fd53b59e3bb12d203f45a912eeaf2`, `F_ac1dd209cbcc5e5d1c6e28598e8cbbe8`, `F_555d6702c950ecb729a966504af0a635`, `F_335f5352088d7d9bf74191e006d8e24c`, `F_f340f1b1f65b6df5b5e3f94d95b11daf`, `F_e4a6222cdb5b34375400904f03d8e6a5`, `F_cb70ab375662576bd1ac5aaf16b3fca4`, `F_9188905e74c28e489b44e954ec0b9bca`, `F_0266e33d3f546cb5436a10798e657d97`, `F_38db3aed920cf82ab059bfccbd02be6a`, `F_3cec07e9ba5f5bb252d13f5f431e4bbb`, `F_621bf66ddb7c962aa0d22ac97d69b793`, `F_077e29b11be80ab57e1a2ecabb7da330`, `F_6c9882bbac1c7093bd25041881277658`, `F_19f3cd308f1455b3fa09a282e0d496f4`, `F_03c6b06952c750899bb03d998e631860`, `F_c24cd76e1ce41366a4bbe8a49b02a028`, `F_c52f1bd66cc19d05628bd8bf27af3ad6`, `F_fe131d7f5a6b38b23cc967316c13dae2`, `F_f718499c1c8cef6730f9fd03c8125cab`, `F_d96409bf894217686ba124d7356686c9`, `F_502e4a16930e414107ee22b6198c578f`, `F_cfa0860e83a4c3a763a7e62d825349f7`, `F_a4f23670e1833f3fdb077ca70bbd5d66`, `F_b1a59b315fc9a3002ce38bbe070ec3f5`, `F_36660e59856b4de58a219bcf4e27eba3`, `F_8c19f571e251e61cb8dd3612f26d5ecf`, `F_d6baf65e0b240ce177cf70da146c8dc8`, `F_e56954b4f6347e897f954495eab16a88`, `F_f7664060cc52bc6f3d620bcedc94a4b6`, `F_eda80a3d5b344bc40f3bc04f65b7a357`, `F_8f121ce07d74717e0b1f21d122e04521`, `F_06138bc5af6023646ede0e1f7c1eac75`, `F_39059724f73a9969845dfe4146c5660e`, `F_7f100b7b36092fb9b06dfb4fac360931`, `F_7a614fd06c325499f1680b9896beedeb`, `F_4734ba6f3de83d861c3176a6273cac6d`, `F_d947bf06a885db0d477d707121934ff8`, `F_63923f49e5241343aa7acb6a06a751e7`, `F_db8e1af0cb3aca1ae2d0018624204529`, `F_20f07591c6fcb220ffe637cda29bb3f6`, `F_07cdfd23373b17c6b337251c22b7ea57`, `F_d395771085aab05244a4fb8fd91bf4ee`, `F_92c8c96e4c37100777c7190b76d28233`, `F_e3796ae838835da0b6f6ea37bcf8bcb7`, `F_6a9aeddfc689c1d0e3b9ccc3ab651bc5`, `F_0f49c89d1e7298bb9930789c8ed59d48`, `F_46ba9f2a6976570b0353203ec4474217`, `F_0e01938fc48a2cfb5f2217fbfb00722d`, `F_16a5cdae362b8d27a1d8f8c7b78b4330`, `F_918317b57931b6b7a7d29490fe5ec9f9`, `F_48aedb8880cab8c45637abc7493ecddd`, `F_839ab46820b524afda05122893c2fe8e`, `F_f90f2aca5c640289d0a29417bcb63a37`, `F_9c838d2e45b2ad1094d42f4ef36764f6`, `F_1700002963a49da13542e0726b7bb758`, `F_53c3bce66e43be4f209556518c2fcb54`, `F_6883966fd8f918a4aa29be29d2c386fb`, `F_49182f81e6a13cf5eaa496d51fea6406`, `F_d296c101daa88a51f6ca8cfc1ac79b50`, `F_9fd81843ad7f202f26c1a174c7357585`, `F_26e359e83860db1d11b6acca57d8ea88`, `F_ef0d3930a7b6c95bd2b32ed45989c61f`, `F_94f6d7e04a4d452035300f18b984988c`, `F_34ed066df378efacc9b924ec161e7639`, `F_577bcc914f9e55d5e4e4f82f9f00e7d4`, `F_11b9842e0a271ff252c1903e7132cd68`, `F_37bc2f75bf1bcfe8450a1a41c200364c`, `F_496e05e1aea0a9c4655800e8a7b9ea28`, `F_b2eb7349035754953b57a32e2841bda5`, `F_8e98d81f8217304975ccb23337bb5761`, `F_a8c88a0055f636e4a163a5e3d16adab7`, `F_eddea82ad2755b24c4e168c5fc2ebd40`, `F_06eb61b839a0cefee4967c67ccb099dc`, `F_9dfcd5e558dfa04aaf37f137a1d9d3e5`, `F_950a4152c2b4aa3ad78bdd6b366cc179`, `F_158f3069a435b314a80bdcb024f8e422`, `F_758874998f5bd0c393da094e1967a72b`, `F_ad13a2a07ca4b7642959dc0c4c740ab6`, `F_3fe94a002317b5f9259f82690aeea4cd`, `F_5b8add2a5d98b1a652ea7fd72d942dac`, `F_432aca3a1e345e339f35a30c8f65edce`, `F_8d3bba7425e7c98c50f52ca1b52d3735`, `F_320722549d1751cf3f247855f937b982`, `F_caf1a3dfb505ffed0d024130f58c5cfa`, `F_5737c6ec2e0716f3d8a7a5c4e0de0d9a`, `F_bc6dc48b743dc5d013b1abaebd2faed2`, `F_f2fc990265c712c49d51a18a32b39f0c`, `F_89f0fd5c927d466d6ec9a21b9ac34ffa`, `F_a666587afda6e89aec274a3657558a27`, `F_b83aac23b9528732c23cc7352950e880`, `F_cd00692c3bfe59267d5ecfac5310286c`, `F_6faa8040da20ef399b63a72d0e4ab575`, `F_fe73f687e5bc5280214e0486b273a5f9`) VALUES (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
4140+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4141+UNLOCK TABLES;
4142+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4143+
4144+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4145+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4146+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4147+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4148+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4149+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4150+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4151+
4152+drop table t1;
4153+#
4154+# Test for --add-drop-database
4155+#
4156+CREATE TABLE t1 (a int);
4157+INSERT INTO t1 VALUES (1),(2),(3);
4158+
4159+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4160+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4161+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4162+/*!40101 SET NAMES utf8 */;
4163+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4164+/*!40103 SET TIME_ZONE='+00:00' */;
4165+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4166+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4167+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4168+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4169+
4170+/*!40000 DROP DATABASE IF EXISTS `test`*/;
4171+
4172+CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
4173+
4174+USE `test`;
4175+DROP TABLE IF EXISTS `t1`;
4176+/*!40101 SET @saved_cs_client = @@character_set_client */;
4177+/*!40101 SET character_set_client = utf8 */;
4178+CREATE TABLE `t1` (
4179+ `a` int(11) DEFAULT NULL
4180+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4181+/*!40101 SET character_set_client = @saved_cs_client */;
4182+
4183+LOCK TABLES `t1` WRITE;
4184+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4185+INSERT INTO `t1` VALUES (1),(2),(3);
4186+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4187+UNLOCK TABLES;
4188+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4189+
4190+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4191+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4192+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4193+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4194+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4195+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4196+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4197+
4198+DROP TABLE t1;
4199+#
4200+# Bug#9558 mysqldump --no-data db t1 t2 format still dumps data
4201+#
4202+CREATE DATABASE mysqldump_test_db;
4203+USE mysqldump_test_db;
4204+CREATE TABLE t1 ( a INT );
4205+CREATE TABLE t2 ( a INT );
4206+INSERT INTO t1 VALUES (1), (2);
4207+INSERT INTO t2 VALUES (1), (2);
4208+
4209+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4210+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4211+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4212+/*!40101 SET NAMES utf8 */;
4213+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4214+/*!40103 SET TIME_ZONE='+00:00' */;
4215+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4216+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4217+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4218+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4219+DROP TABLE IF EXISTS `t1`;
4220+/*!40101 SET @saved_cs_client = @@character_set_client */;
4221+/*!40101 SET character_set_client = utf8 */;
4222+CREATE TABLE `t1` (
4223+ `a` int(11) DEFAULT NULL
4224+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4225+/*!40101 SET character_set_client = @saved_cs_client */;
4226+DROP TABLE IF EXISTS `t2`;
4227+/*!40101 SET @saved_cs_client = @@character_set_client */;
4228+/*!40101 SET character_set_client = utf8 */;
4229+CREATE TABLE `t2` (
4230+ `a` int(11) DEFAULT NULL
4231+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4232+/*!40101 SET character_set_client = @saved_cs_client */;
4233+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4234+
4235+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4236+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4237+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4238+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4239+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4240+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4241+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4242+
4243+
4244+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4245+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4246+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4247+/*!40101 SET NAMES utf8 */;
4248+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4249+/*!40103 SET TIME_ZONE='+00:00' */;
4250+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4251+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4252+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4253+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4254+DROP TABLE IF EXISTS `t1`;
4255+/*!40101 SET @saved_cs_client = @@character_set_client */;
4256+/*!40101 SET character_set_client = utf8 */;
4257+CREATE TABLE `t1` (
4258+ `a` int(11) DEFAULT NULL
4259+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4260+/*!40101 SET character_set_client = @saved_cs_client */;
4261+DROP TABLE IF EXISTS `t2`;
4262+/*!40101 SET @saved_cs_client = @@character_set_client */;
4263+/*!40101 SET character_set_client = utf8 */;
4264+CREATE TABLE `t2` (
4265+ `a` int(11) DEFAULT NULL
4266+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4267+/*!40101 SET character_set_client = @saved_cs_client */;
4268+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4269+
4270+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4271+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4272+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4273+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4274+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4275+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4276+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4277+
4278+<?xml version="1.0"?>
4279+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4280+<database name="mysqldump_test_db">
4281+ <table_structure name="t1">
4282+ <field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
4283+ </table_structure>
4284+ <table_structure name="t2">
4285+ <field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
4286+ </table_structure>
4287+</database>
4288+</mysqldump>
4289+<?xml version="1.0"?>
4290+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4291+<database name="mysqldump_test_db">
4292+ <table_structure name="t1">
4293+ <field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
4294+ </table_structure>
4295+ <table_structure name="t2">
4296+ <field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
4297+ </table_structure>
4298+</database>
4299+</mysqldump>
4300+DROP TABLE t1, t2;
4301+DROP DATABASE mysqldump_test_db;
4302+#
4303+# Testing with tables and databases that don't exists
4304+# or contains illegal characters
4305+# (Bug#9358 mysqldump crashes if tablename starts with \)
4306+#
4307+create database mysqldump_test_db;
4308+use mysqldump_test_db;
4309+create table t1(a varchar(30) primary key, b int not null);
4310+create table t2(a varchar(30) primary key, b int not null);
4311+create table t3(a varchar(30) primary key, b int not null);
4312+test_sequence
4313+------ Testing with illegal table names ------
4314+mysqldump: Couldn't find table: "\d-2-1.sql"
4315+mysqldump: Couldn't find table: "\t1"
4316+mysqldump: Couldn't find table: "\t1"
4317+mysqldump: Couldn't find table: "\\t1"
4318+mysqldump: Couldn't find table: "t\1"
4319+mysqldump: Couldn't find table: "t\1"
4320+mysqldump: Couldn't find table: "t/1"
4321+mysqldump: Couldn't find table: "T_1"
4322+mysqldump: Couldn't find table: "T%1"
4323+mysqldump: Couldn't find table: "T'1"
4324+mysqldump: Couldn't find table: "T_1"
4325+mysqldump: Couldn't find table: "T_"
4326+test_sequence
4327+------ Testing with illegal database names ------
4328+mysqldump: Got error: 1049: Unknown database 'mysqldump_test_d' when selecting the database
4329+mysqldump: Got error: 1049: Unknown database 'mysqld\ump_test_db' when selecting the database
4330+drop table t1, t2, t3;
4331+drop database mysqldump_test_db;
4332+use test;
4333+#
4334+# Bug#9657 mysqldump xml ( -x ) does not format NULL fields correctly
4335+#
4336+create table t1 (a int(10));
4337+create table t2 (pk int primary key auto_increment,
4338+a int(10), b varchar(30), c datetime, d blob, e text);
4339+insert into t1 values (NULL), (10), (20);
4340+insert into t2 (a, b) values (NULL, NULL),(10, NULL),(NULL, "twenty"),(30, "thirty");
4341+<?xml version="1.0"?>
4342+<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4343+<database name="test">
4344+ <table_data name="t1">
4345+ <row>
4346+ <field name="a" xsi:nil="true" />
4347+ </row>
4348+ <row>
4349+ <field name="a">10</field>
4350+ </row>
4351+ <row>
4352+ <field name="a">20</field>
4353+ </row>
4354+ </table_data>
4355+ <table_data name="t2">
4356+ <row>
4357+ <field name="pk">1</field>
4358+ <field name="a" xsi:nil="true" />
4359+ <field name="b" xsi:nil="true" />
4360+ <field name="c" xsi:nil="true" />
4361+ <field name="d" xsi:nil="true" />
4362+ <field name="e" xsi:nil="true" />
4363+ </row>
4364+ <row>
4365+ <field name="pk">2</field>
4366+ <field name="a">10</field>
4367+ <field name="b" xsi:nil="true" />
4368+ <field name="c" xsi:nil="true" />
4369+ <field name="d" xsi:nil="true" />
4370+ <field name="e" xsi:nil="true" />
4371+ </row>
4372+ <row>
4373+ <field name="pk">3</field>
4374+ <field name="a" xsi:nil="true" />
4375+ <field name="b">twenty</field>
4376+ <field name="c" xsi:nil="true" />
4377+ <field name="d" xsi:nil="true" />
4378+ <field name="e" xsi:nil="true" />
4379+ </row>
4380+ <row>
4381+ <field name="pk">4</field>
4382+ <field name="a">30</field>
4383+ <field name="b">thirty</field>
4384+ <field name="c" xsi:nil="true" />
4385+ <field name="d" xsi:nil="true" />
4386+ <field name="e" xsi:nil="true" />
4387+ </row>
4388+ </table_data>
4389+</database>
4390+</mysqldump>
4391+drop table t1, t2;
4392+#
4393+# Bug#12123 mysqldump --tab results in text file which can't be imported
4394+#
4395+create table t1 (a text character set utf8, b text character set latin1);
4396+insert t1 values (0x4F736E616272C3BC636B, 0x4BF66C6E);
4397+select * from t1;
4398+a b
4399+Osnabrück Köln
4400+test.t1: Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
4401+select * from t1;
4402+a b
4403+Osnabrück Köln
4404+drop table t1;
4405+#
4406+# Bug#15328 Segmentation fault occured if my.cnf is invalid for escape sequence
4407+#
4408+--fields-optionally-enclosed-by="
4409+#
4410+# Bug#19025 mysqldump doesn't correctly dump "auto_increment = [int]"
4411+#
4412+create table `t1` (
4413+t1_name varchar(255) default null,
4414+t1_id int(10) unsigned not null auto_increment,
4415+key (t1_name),
4416+primary key (t1_id)
4417+) auto_increment = 1000 default charset=latin1;
4418+insert into t1 (t1_name) values('bla');
4419+insert into t1 (t1_name) values('bla');
4420+insert into t1 (t1_name) values('bla');
4421+select * from t1;
4422+t1_name t1_id
4423+bla 1000
4424+bla 1001
4425+bla 1002
4426+show create table `t1`;
4427+Table Create Table
4428+t1 CREATE TABLE `t1` (
4429+ `t1_name` varchar(255) DEFAULT NULL,
4430+ `t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
4431+ PRIMARY KEY (`t1_id`),
4432+ KEY `t1_name` (`t1_name`)
4433+) ENGINE=MyISAM AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
4434+DROP TABLE `t1`;
4435+select * from t1;
4436+t1_name t1_id
4437+bla 1000
4438+bla 1001
4439+bla 1002
4440+show create table `t1`;
4441+Table Create Table
4442+t1 CREATE TABLE `t1` (
4443+ `t1_name` varchar(255) DEFAULT NULL,
4444+ `t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
4445+ PRIMARY KEY (`t1_id`),
4446+ KEY `t1_name` (`t1_name`)
4447+) ENGINE=MyISAM AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
4448+drop table `t1`;
4449+#
4450+# Bug#18536 wrong table order
4451+#
4452+create table t1(a int);
4453+create table t2(a int);
4454+create table t3(a int);
4455+
4456+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4457+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4458+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4459+/*!40101 SET NAMES utf8 */;
4460+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4461+/*!40103 SET TIME_ZONE='+00:00' */;
4462+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4463+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4464+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4465+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4466+DROP TABLE IF EXISTS `t3`;
4467+/*!40101 SET @saved_cs_client = @@character_set_client */;
4468+/*!40101 SET character_set_client = utf8 */;
4469+CREATE TABLE `t3` (
4470+ `a` int(11) DEFAULT NULL
4471+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4472+/*!40101 SET character_set_client = @saved_cs_client */;
4473+DROP TABLE IF EXISTS `t1`;
4474+/*!40101 SET @saved_cs_client = @@character_set_client */;
4475+/*!40101 SET character_set_client = utf8 */;
4476+CREATE TABLE `t1` (
4477+ `a` int(11) DEFAULT NULL
4478+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4479+/*!40101 SET character_set_client = @saved_cs_client */;
4480+DROP TABLE IF EXISTS `t2`;
4481+/*!40101 SET @saved_cs_client = @@character_set_client */;
4482+/*!40101 SET character_set_client = utf8 */;
4483+CREATE TABLE `t2` (
4484+ `a` int(11) DEFAULT NULL
4485+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4486+/*!40101 SET character_set_client = @saved_cs_client */;
4487+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4488+
4489+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4490+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4491+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4492+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4493+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4494+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4495+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4496+
4497+drop table t1, t2, t3;
4498+#
4499+# Bug#21288 mysqldump segmentation fault when using --where
4500+#
4501+create table t1 (a int);
4502+mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `t1` WHERE xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 (1064)
4503+mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server
4504+
4505+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4506+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4507+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4508+/*!40101 SET NAMES utf8 */;
4509+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4510+/*!40103 SET TIME_ZONE='+00:00' */;
4511+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4512+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4513+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4514+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4515+DROP TABLE IF EXISTS `t1`;
4516+/*!40101 SET @saved_cs_client = @@character_set_client */;
4517+/*!40101 SET character_set_client = utf8 */;
4518+CREATE TABLE `t1` (
4519+ `a` int(11) DEFAULT NULL
4520+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4521+/*!40101 SET character_set_client = @saved_cs_client */;
4522+
4523+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4524+
4525+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4526+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4527+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4528+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4529+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4530+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4531+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4532+
4533+drop table t1;
4534+#
4535+# Bug#13926 --order-by-primary fails if PKEY contains quote character
4536+#
4537+DROP TABLE IF EXISTS `t1`;
4538+CREATE TABLE `t1` (
4539+`a b` INT,
4540+`c"d` INT,
4541+`e``f` INT,
4542+PRIMARY KEY (`a b`, `c"d`, `e``f`)
4543+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4544+insert into t1 values (0815, 4711, 2006);
4545+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4546+/*!40103 SET TIME_ZONE='+00:00' */;
4547+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4548+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4549+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
4550+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4551+DROP TABLE IF EXISTS "t1";
4552+/*!40101 SET @saved_cs_client = @@character_set_client */;
4553+/*!40101 SET character_set_client = utf8 */;
4554+CREATE TABLE "t1" (
4555+ "a b" int(11) NOT NULL DEFAULT '0',
4556+ "c""d" int(11) NOT NULL DEFAULT '0',
4557+ "e`f" int(11) NOT NULL DEFAULT '0',
4558+ PRIMARY KEY ("a b","c""d","e`f")
4559+);
4560+/*!40101 SET character_set_client = @saved_cs_client */;
4561+
4562+LOCK TABLES "t1" WRITE;
4563+/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
4564+INSERT INTO "t1" VALUES (815,4711,2006);
4565+/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
4566+UNLOCK TABLES;
4567+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4568+
4569+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4570+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4571+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4572+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4573+
4574+
4575+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4576+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4577+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4578+/*!40101 SET NAMES utf8 */;
4579+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4580+/*!40103 SET TIME_ZONE='+00:00' */;
4581+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4582+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4583+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4584+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4585+DROP TABLE IF EXISTS `t1`;
4586+/*!40101 SET @saved_cs_client = @@character_set_client */;
4587+/*!40101 SET character_set_client = utf8 */;
4588+CREATE TABLE `t1` (
4589+ `a b` int(11) NOT NULL DEFAULT '0',
4590+ `c"d` int(11) NOT NULL DEFAULT '0',
4591+ `e``f` int(11) NOT NULL DEFAULT '0',
4592+ PRIMARY KEY (`a b`,`c"d`,`e``f`)
4593+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4594+/*!40101 SET character_set_client = @saved_cs_client */;
4595+
4596+LOCK TABLES `t1` WRITE;
4597+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4598+INSERT INTO `t1` VALUES (815,4711,2006);
4599+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4600+UNLOCK TABLES;
4601+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4602+
4603+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4604+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4605+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4606+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4607+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4608+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4609+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4610+
4611+DROP TABLE `t1`;
4612+End of 4.1 tests
4613+#
4614+# Bug#10213 mysqldump crashes when dumping VIEWs(on MacOS X)
4615+#
4616+create database db1;
4617+use db1;
4618+CREATE TABLE t2 (
4619+a varchar(30) default NULL,
4620+KEY a (a(5))
4621+);
4622+INSERT INTO t2 VALUES ('alfred');
4623+INSERT INTO t2 VALUES ('angie');
4624+INSERT INTO t2 VALUES ('bingo');
4625+INSERT INTO t2 VALUES ('waffle');
4626+INSERT INTO t2 VALUES ('lemon');
4627+create view v2 as select * from t2 where a like 'a%' with check option;
4628+
4629+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4630+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4631+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4632+/*!40101 SET NAMES utf8 */;
4633+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4634+/*!40103 SET TIME_ZONE='+00:00' */;
4635+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4636+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4637+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4638+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4639+DROP TABLE IF EXISTS `t2`;
4640+/*!40101 SET @saved_cs_client = @@character_set_client */;
4641+/*!40101 SET character_set_client = utf8 */;
4642+CREATE TABLE `t2` (
4643+ `a` varchar(30) DEFAULT NULL,
4644+ KEY `a` (`a`(5))
4645+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4646+/*!40101 SET character_set_client = @saved_cs_client */;
4647+
4648+LOCK TABLES `t2` WRITE;
4649+/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
4650+INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon');
4651+/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
4652+UNLOCK TABLES;
4653+DROP TABLE IF EXISTS `v2`;
4654+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4655+SET @saved_cs_client = @@character_set_client;
4656+SET character_set_client = utf8;
4657+/*!50001 CREATE TABLE `v2` (
4658+ `a` varchar(30)
4659+) ENGINE=MyISAM */;
4660+SET character_set_client = @saved_cs_client;
4661+/*!50001 DROP TABLE IF EXISTS `v2`*/;
4662+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4663+/*!50001 SET @saved_cs_client = @@character_set_client */;
4664+/*!50001 SET @saved_cs_results = @@character_set_results */;
4665+/*!50001 SET @saved_col_connection = @@collation_connection */;
4666+/*!50001 SET character_set_client = latin1 */;
4667+/*!50001 SET character_set_results = latin1 */;
4668+/*!50001 SET collation_connection = latin1_swedish_ci */;
4669+/*!50001 CREATE ALGORITHM=UNDEFINED */
4670+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
4671+/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */
4672+/*!50002 WITH CASCADED CHECK OPTION */;
4673+/*!50001 SET character_set_client = @saved_cs_client */;
4674+/*!50001 SET character_set_results = @saved_cs_results */;
4675+/*!50001 SET collation_connection = @saved_col_connection */;
4676+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4677+
4678+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4679+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4680+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4681+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4682+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4683+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4684+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4685+
4686+drop table t2;
4687+drop view v2;
4688+drop database db1;
4689+use test;
4690+#
4691+# Bug#10713 mysqldump includes database in create view and referenced tables
4692+#
4693+create database db2;
4694+use db2;
4695+create table t1 (a int);
4696+create table t2 (a int, b varchar(10), primary key(a));
4697+insert into t2 values (1, "on"), (2, "off"), (10, "pol"), (12, "meg");
4698+insert into t1 values (289), (298), (234), (456), (789);
4699+create view v1 as select * from t2;
4700+create view v2 as select * from t1;
4701+drop table t1, t2;
4702+drop view v1, v2;
4703+drop database db2;
4704+use test;
4705+create database db1;
4706+use db1;
4707+show tables;
4708+Tables_in_db1
4709+t1
4710+t2
4711+v1
4712+v2
4713+select * from t2 order by a;
4714+a b
4715+1 on
4716+2 off
4717+10 pol
4718+12 meg
4719+drop table t1, t2;
4720+drop database db1;
4721+use test;
4722+create table t1(a int);
4723+create view v1 as select * from t1;
4724+
4725+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4726+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4727+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4728+/*!40101 SET NAMES utf8 */;
4729+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4730+/*!40103 SET TIME_ZONE='+00:00' */;
4731+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4732+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4733+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4734+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4735+DROP TABLE IF EXISTS `t1`;
4736+/*!40101 SET @saved_cs_client = @@character_set_client */;
4737+/*!40101 SET character_set_client = utf8 */;
4738+CREATE TABLE `t1` (
4739+ `a` int(11) DEFAULT NULL
4740+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4741+/*!40101 SET character_set_client = @saved_cs_client */;
4742+
4743+LOCK TABLES `t1` WRITE;
4744+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4745+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4746+UNLOCK TABLES;
4747+DROP TABLE IF EXISTS `v1`;
4748+/*!50001 DROP VIEW IF EXISTS `v1`*/;
4749+SET @saved_cs_client = @@character_set_client;
4750+SET character_set_client = utf8;
4751+/*!50001 CREATE TABLE `v1` (
4752+ `a` int(11)
4753+) ENGINE=MyISAM */;
4754+SET character_set_client = @saved_cs_client;
4755+/*!50001 DROP TABLE IF EXISTS `v1`*/;
4756+/*!50001 DROP VIEW IF EXISTS `v1`*/;
4757+/*!50001 SET @saved_cs_client = @@character_set_client */;
4758+/*!50001 SET @saved_cs_results = @@character_set_results */;
4759+/*!50001 SET @saved_col_connection = @@collation_connection */;
4760+/*!50001 SET character_set_client = latin1 */;
4761+/*!50001 SET character_set_results = latin1 */;
4762+/*!50001 SET collation_connection = latin1_swedish_ci */;
4763+/*!50001 CREATE ALGORITHM=UNDEFINED */
4764+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
4765+/*!50001 VIEW `v1` AS select `t1`.`a` AS `a` from `t1` */;
4766+/*!50001 SET character_set_client = @saved_cs_client */;
4767+/*!50001 SET character_set_results = @saved_cs_results */;
4768+/*!50001 SET collation_connection = @saved_col_connection */;
4769+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4770+
4771+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4772+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4773+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4774+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4775+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4776+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4777+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4778+
4779+drop view v1;
4780+drop table t1;
4781+#
4782+# Bug#10213 mysqldump crashes when dumping VIEWs(on MacOS X)
4783+#
4784+create database mysqldump_test_db;
4785+use mysqldump_test_db;
4786+CREATE TABLE t2 (
4787+a varchar(30) default NULL,
4788+KEY a (a(5))
4789+);
4790+INSERT INTO t2 VALUES ('alfred');
4791+INSERT INTO t2 VALUES ('angie');
4792+INSERT INTO t2 VALUES ('bingo');
4793+INSERT INTO t2 VALUES ('waffle');
4794+INSERT INTO t2 VALUES ('lemon');
4795+create view v2 as select * from t2 where a like 'a%' with check option;
4796+
4797+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4798+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4799+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4800+/*!40101 SET NAMES utf8 */;
4801+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4802+/*!40103 SET TIME_ZONE='+00:00' */;
4803+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4804+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4805+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4806+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4807+DROP TABLE IF EXISTS `t2`;
4808+/*!40101 SET @saved_cs_client = @@character_set_client */;
4809+/*!40101 SET character_set_client = utf8 */;
4810+CREATE TABLE `t2` (
4811+ `a` varchar(30) DEFAULT NULL,
4812+ KEY `a` (`a`(5))
4813+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4814+/*!40101 SET character_set_client = @saved_cs_client */;
4815+
4816+LOCK TABLES `t2` WRITE;
4817+/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
4818+INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon');
4819+/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
4820+UNLOCK TABLES;
4821+DROP TABLE IF EXISTS `v2`;
4822+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4823+SET @saved_cs_client = @@character_set_client;
4824+SET character_set_client = utf8;
4825+/*!50001 CREATE TABLE `v2` (
4826+ `a` varchar(30)
4827+) ENGINE=MyISAM */;
4828+SET character_set_client = @saved_cs_client;
4829+/*!50001 DROP TABLE IF EXISTS `v2`*/;
4830+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4831+/*!50001 SET @saved_cs_client = @@character_set_client */;
4832+/*!50001 SET @saved_cs_results = @@character_set_results */;
4833+/*!50001 SET @saved_col_connection = @@collation_connection */;
4834+/*!50001 SET character_set_client = latin1 */;
4835+/*!50001 SET character_set_results = latin1 */;
4836+/*!50001 SET collation_connection = latin1_swedish_ci */;
4837+/*!50001 CREATE ALGORITHM=UNDEFINED */
4838+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
4839+/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */
4840+/*!50002 WITH CASCADED CHECK OPTION */;
4841+/*!50001 SET character_set_client = @saved_cs_client */;
4842+/*!50001 SET character_set_results = @saved_cs_results */;
4843+/*!50001 SET collation_connection = @saved_col_connection */;
4844+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4845+
4846+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4847+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4848+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4849+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4850+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4851+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4852+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4853+
4854+drop table t2;
4855+drop view v2;
4856+drop database mysqldump_test_db;
4857+use test;
4858+#
4859+# Bug#9756 mysql client failing on dumps containing certain \ sequences
4860+#
4861+CREATE TABLE t1 (a char(10));
4862+INSERT INTO t1 VALUES ('\'');
4863+
4864+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4865+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4866+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4867+/*!40101 SET NAMES utf8 */;
4868+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4869+/*!40103 SET TIME_ZONE='+00:00' */;
4870+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4871+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4872+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4873+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4874+DROP TABLE IF EXISTS `t1`;
4875+/*!40101 SET @saved_cs_client = @@character_set_client */;
4876+/*!40101 SET character_set_client = utf8 */;
4877+CREATE TABLE `t1` (
4878+ `a` char(10) DEFAULT NULL
4879+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4880+/*!40101 SET character_set_client = @saved_cs_client */;
4881+
4882+LOCK TABLES `t1` WRITE;
4883+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4884+INSERT INTO `t1` VALUES ('\'');
4885+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4886+UNLOCK TABLES;
4887+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4888+
4889+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4890+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4891+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4892+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4893+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4894+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4895+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4896+
4897+DROP TABLE t1;
4898+#
4899+# Bug#10927 mysqldump: Can't reload dump with view that consist of other view
4900+#
4901+create table t1(a int, b int, c varchar(30));
4902+insert into t1 values(1, 2, "one"), (2, 4, "two"), (3, 6, "three");
4903+create view v3 as
4904+select * from t1;
4905+create view v1 as
4906+select * from v3 where b in (1, 2, 3, 4, 5, 6, 7);
4907+create view v2 as
4908+select v3.a from v3, v1 where v1.a=v3.a and v3.b=3 limit 1;
4909+
4910+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4911+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4912+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4913+/*!40101 SET NAMES utf8 */;
4914+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4915+/*!40103 SET TIME_ZONE='+00:00' */;
4916+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4917+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4918+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4919+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4920+DROP TABLE IF EXISTS `t1`;
4921+/*!40101 SET @saved_cs_client = @@character_set_client */;
4922+/*!40101 SET character_set_client = utf8 */;
4923+CREATE TABLE `t1` (
4924+ `a` int(11) DEFAULT NULL,
4925+ `b` int(11) DEFAULT NULL,
4926+ `c` varchar(30) DEFAULT NULL
4927+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4928+/*!40101 SET character_set_client = @saved_cs_client */;
4929+
4930+LOCK TABLES `t1` WRITE;
4931+/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
4932+INSERT INTO `t1` VALUES (1,2,'one'),(2,4,'two'),(3,6,'three');
4933+/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
4934+UNLOCK TABLES;
4935+DROP TABLE IF EXISTS `v1`;
4936+/*!50001 DROP VIEW IF EXISTS `v1`*/;
4937+SET @saved_cs_client = @@character_set_client;
4938+SET character_set_client = utf8;
4939+/*!50001 CREATE TABLE `v1` (
4940+ `a` int(11),
4941+ `b` int(11),
4942+ `c` varchar(30)
4943+) ENGINE=MyISAM */;
4944+SET character_set_client = @saved_cs_client;
4945+DROP TABLE IF EXISTS `v2`;
4946+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4947+SET @saved_cs_client = @@character_set_client;
4948+SET character_set_client = utf8;
4949+/*!50001 CREATE TABLE `v2` (
4950+ `a` int(11)
4951+) ENGINE=MyISAM */;
4952+SET character_set_client = @saved_cs_client;
4953+DROP TABLE IF EXISTS `v3`;
4954+/*!50001 DROP VIEW IF EXISTS `v3`*/;
4955+SET @saved_cs_client = @@character_set_client;
4956+SET character_set_client = utf8;
4957+/*!50001 CREATE TABLE `v3` (
4958+ `a` int(11),
4959+ `b` int(11),
4960+ `c` varchar(30)
4961+) ENGINE=MyISAM */;
4962+SET character_set_client = @saved_cs_client;
4963+/*!50001 DROP TABLE IF EXISTS `v1`*/;
4964+/*!50001 DROP VIEW IF EXISTS `v1`*/;
4965+/*!50001 SET @saved_cs_client = @@character_set_client */;
4966+/*!50001 SET @saved_cs_results = @@character_set_results */;
4967+/*!50001 SET @saved_col_connection = @@collation_connection */;
4968+/*!50001 SET character_set_client = latin1 */;
4969+/*!50001 SET character_set_results = latin1 */;
4970+/*!50001 SET collation_connection = latin1_swedish_ci */;
4971+/*!50001 CREATE ALGORITHM=UNDEFINED */
4972+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
4973+/*!50001 VIEW `v1` AS select `v3`.`a` AS `a`,`v3`.`b` AS `b`,`v3`.`c` AS `c` from `v3` where (`v3`.`b` in (1,2,3,4,5,6,7)) */;
4974+/*!50001 SET character_set_client = @saved_cs_client */;
4975+/*!50001 SET character_set_results = @saved_cs_results */;
4976+/*!50001 SET collation_connection = @saved_col_connection */;
4977+/*!50001 DROP TABLE IF EXISTS `v2`*/;
4978+/*!50001 DROP VIEW IF EXISTS `v2`*/;
4979+/*!50001 SET @saved_cs_client = @@character_set_client */;
4980+/*!50001 SET @saved_cs_results = @@character_set_results */;
4981+/*!50001 SET @saved_col_connection = @@collation_connection */;
4982+/*!50001 SET character_set_client = latin1 */;
4983+/*!50001 SET character_set_results = latin1 */;
4984+/*!50001 SET collation_connection = latin1_swedish_ci */;
4985+/*!50001 CREATE ALGORITHM=UNDEFINED */
4986+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
4987+/*!50001 VIEW `v2` AS select `v3`.`a` AS `a` from (`v3` join `v1`) where ((`v1`.`a` = `v3`.`a`) and (`v3`.`b` = 3)) limit 1 */;
4988+/*!50001 SET character_set_client = @saved_cs_client */;
4989+/*!50001 SET character_set_results = @saved_cs_results */;
4990+/*!50001 SET collation_connection = @saved_col_connection */;
4991+/*!50001 DROP TABLE IF EXISTS `v3`*/;
4992+/*!50001 DROP VIEW IF EXISTS `v3`*/;
4993+/*!50001 SET @saved_cs_client = @@character_set_client */;
4994+/*!50001 SET @saved_cs_results = @@character_set_results */;
4995+/*!50001 SET @saved_col_connection = @@collation_connection */;
4996+/*!50001 SET character_set_client = latin1 */;
4997+/*!50001 SET character_set_results = latin1 */;
4998+/*!50001 SET collation_connection = latin1_swedish_ci */;
4999+/*!50001 CREATE ALGORITHM=UNDEFINED */
5000+/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: