mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merge
BitKeeper/etc/config: Auto merged Makefile.am: Auto merged VC++Files/sql/mysqld.vcproj: Auto merged configure.in: Auto merged extra/perror.c: Auto merged include/my_global.h: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/t/alter_table.test: Auto merged mysql-test/t/disabled.def: Auto merged mysys/Makefile.am: Auto merged scripts/mysql_fix_privilege_tables.sql: Auto merged sql/Makefile.am: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/handler.h: Auto merged sql/item.cc: Auto merged sql/lex.h: Auto merged sql/log.cc: Auto merged sql/log_event.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/opt_range.cc: Auto merged sql/set_var.cc: Auto merged sql/sp.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_delete.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_update.cc: Auto merged sql/examples/ha_tina.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.h: Auto merged sql/unireg.h: Auto merged storage/innobase/lock/lock0lock.c: Auto merged storage/myisam/mi_check.c: Auto merged storage/myisam/mi_search.c: Auto merged storage/myisam/myisamchk.c: Auto merged storage/myisam/myisamlog.c: Auto merged storage/myisam/myisampack.c: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp: Auto merged storage/ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp: Auto merged storage/ndb/src/kernel/blocks/dblqh/redoLogReader/redoLogFileReader.cpp: Auto merged
This commit is contained in:
21
Makefile.am
21
Makefile.am
@ -105,10 +105,25 @@ test:
|
|||||||
cd mysql-test; \
|
cd mysql-test; \
|
||||||
./mysql-test-run && ./mysql-test-run --ps-protocol
|
./mysql-test-run && ./mysql-test-run --ps-protocol
|
||||||
|
|
||||||
|
# Test installation. Ports are configurable from the environment.
|
||||||
|
|
||||||
|
MYSQL_TEST_MANAGER_PORT = 9305
|
||||||
|
MYSQL_TEST_MASTER_PORT = 9306
|
||||||
|
MYSQL_TEST_SLAVE_PORT = 9308
|
||||||
|
MYSQL_TEST_NDB_PORT = 9350
|
||||||
|
MYSQL_TEST_RUN_ARGS = --manager-port=$(MYSQL_TEST_MANAGER_PORT) \
|
||||||
|
--master_port=$(MYSQL_TEST_MASTER_PORT) \
|
||||||
|
--slave_port=$(MYSQL_TEST_SLAVE_PORT) \
|
||||||
|
--ndbcluster_port=$(MYSQL_TEST_NDB_PORT)
|
||||||
|
test:
|
||||||
|
cd mysql-test ; \
|
||||||
|
./mysql-test-run.pl $(MYSQL_TEST_RUN_ARGS) && \
|
||||||
|
./mysql-test-run.pl --ps-protocol $(MYSQL_TEST_RUN_ARGS)
|
||||||
|
|
||||||
test-force:
|
test-force:
|
||||||
cd mysql-test; \
|
cd mysql-test ; \
|
||||||
./mysql-test-run --force ;\
|
./mysql-test-run --force $(MYSQL_TEST_RUN_ARGS) ; \
|
||||||
./mysql-test-run --ps-protocol --force
|
./mysql-test-run --ps-protocol --force $(MYSQL_TEST_RUN_ARGS)
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -223,7 +223,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../include,../regex,../extra/yassl/include,../libmysqld,../sql,../zlib"
|
AdditionalIncludeDirectories="../include,../regex,../extra/yassl/include,../libmysqld,../sql,../zlib"
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;NDEBUG"
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;NDEBUG"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -312,7 +312,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -348,7 +348,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -384,7 +384,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -420,7 +420,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -456,7 +456,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -492,7 +492,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -528,7 +528,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -564,7 +564,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -600,7 +600,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -636,7 +636,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -672,7 +672,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -708,7 +708,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -744,7 +744,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -780,7 +780,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -816,7 +816,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -852,7 +852,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -888,7 +888,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -924,7 +924,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -960,7 +960,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -996,7 +996,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1032,7 +1032,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1068,7 +1068,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1104,7 +1104,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1140,7 +1140,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1176,7 +1176,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1212,7 +1212,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1248,7 +1248,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1284,7 +1284,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1320,7 +1320,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1356,7 +1356,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1392,7 +1392,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1428,7 +1428,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1464,7 +1464,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1500,7 +1500,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1536,7 +1536,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1572,7 +1572,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1608,7 +1608,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1644,7 +1644,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1680,7 +1680,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1716,7 +1716,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1755,7 +1755,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1791,7 +1791,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1827,7 +1827,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1863,7 +1863,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1899,7 +1899,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1935,7 +1935,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -1971,7 +1971,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2007,7 +2007,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2043,7 +2043,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2079,7 +2079,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2115,7 +2115,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2151,7 +2151,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2187,7 +2187,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2223,7 +2223,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2259,7 +2259,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2295,7 +2295,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2331,7 +2331,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2367,7 +2367,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2403,7 +2403,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2439,7 +2439,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2475,7 +2475,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2511,7 +2511,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2547,7 +2547,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2583,7 +2583,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2619,7 +2619,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2655,7 +2655,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2691,7 +2691,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2727,7 +2727,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2763,7 +2763,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2799,7 +2799,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2835,7 +2835,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2871,7 +2871,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2907,7 +2907,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2943,7 +2943,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -2979,7 +2979,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3015,7 +3015,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3051,7 +3051,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3087,7 +3087,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3123,7 +3123,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3159,7 +3159,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3195,7 +3195,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3231,7 +3231,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3267,7 +3267,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3303,7 +3303,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3339,7 +3339,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3375,7 +3375,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3411,7 +3411,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3447,7 +3447,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3483,7 +3483,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3519,7 +3519,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3555,7 +3555,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3591,7 +3591,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3627,7 +3627,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3663,7 +3663,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3699,7 +3699,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3735,7 +3735,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3771,7 +3771,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3807,7 +3807,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3843,7 +3843,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3879,7 +3879,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3915,7 +3915,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3951,7 +3951,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -3987,7 +3987,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4023,7 +4023,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4059,7 +4059,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4095,7 +4095,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4131,7 +4131,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4167,7 +4167,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4203,7 +4203,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4239,7 +4239,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4275,7 +4275,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4311,7 +4311,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4347,7 +4347,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4383,7 +4383,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4419,7 +4419,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4455,7 +4455,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -4491,7 +4491,7 @@
|
|||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories=""
|
AdditionalIncludeDirectories=""
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commerical;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
PreprocessorDefinitions="WIN32;_WINDOWS;USE_SYMDIR;SIGNAL_WITH_VIO_CLOSE;HAVE_DLOPEN;EMBEDDED_LIBRARY;USE_TLS;__WIN__;LICENSE=Commercial;DBUG_OFF;_MBCS;NDEBUG;$(NoInherit)"/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
|
@ -317,6 +317,10 @@ SOURCE=.\mf_tempfile.c
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\mf_unixpath.c
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\mf_wcomp.c
|
SOURCE=.\mf_wcomp.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
AdditionalIncludeDirectories="../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
||||||
PreprocessorDefinitions="NDEBUG;DBUG_OFF;USE_SYMDIR;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="NDEBUG;DBUG_OFF;USE_SYMDIR;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -148,7 +148,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
AdditionalIncludeDirectories="../bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
||||||
PreprocessorDefinitions="NDEBUG;__NT__;DBUG_OFF;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="NDEBUG;__NT__;DBUG_OFF;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -212,7 +212,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
||||||
PreprocessorDefinitions="__NT__;DBUG_OFF;NDEBUG;HAVE_INNOBASE_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="__NT__;DBUG_OFF;NDEBUG;HAVE_INNOBASE_DB;HAVE_ARCHIVE_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -276,7 +276,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
||||||
PreprocessorDefinitions="__NT__;DBUG_OFF;NDEBUG;HAVE_INNOBASE_DB;MYSQL_SERVER;LICENSE=Commercial;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="__NT__;DBUG_OFF;NDEBUG;HAVE_INNOBASE_DB;HAVE_ARCHIVE_DB;MYSQL_SERVER;LICENSE=Commercial;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -336,7 +336,7 @@
|
|||||||
Optimization="0"
|
Optimization="0"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../storage/bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
AdditionalIncludeDirectories="../storage/bdb/build_win32,../include,../regex,../extra/yassl/include,../zlib"
|
||||||
PreprocessorDefinitions="_DEBUG;SAFEMALLOC;SAFE_MUTEX;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="_DEBUG;SAFEMALLOC;SAFE_MUTEX;HAVE_INNOBASE_DB;HAVE_BERKELEY_DB;HAVE_ARCHIVE_DB;HAVE_BLACKHOLE_DB;HAVE_EXAMPLE_DB;HAVE_FEDERATED_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
PrecompiledHeaderFile=".\debug/mysqld.pch"
|
PrecompiledHeaderFile=".\debug/mysqld.pch"
|
||||||
AssemblerListingLocation=".\debug/"
|
AssemblerListingLocation=".\debug/"
|
||||||
@ -398,7 +398,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
AdditionalIncludeDirectories="../include,../regex,../zlib,../extra/yassl/include"
|
||||||
PreprocessorDefinitions="MYSQL_SERVER;LICENSE=Commercial;HAVE_DLOPEN;HAVE_INNOBASE_DB;DBUG_OFF;NDEBUG;_WINDOWS;_CONSOLE"
|
PreprocessorDefinitions="MYSQL_SERVER;LICENSE=Commercial;HAVE_DLOPEN;HAVE_INNOBASE_DB;HAVE_ARCHIVE_DB;DBUG_OFF;NDEBUG;_WINDOWS;_CONSOLE"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -521,7 +521,7 @@
|
|||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
OptimizeForProcessor="2"
|
OptimizeForProcessor="2"
|
||||||
AdditionalIncludeDirectories="../zlib,../include,../regex,../extra/yassl/include"
|
AdditionalIncludeDirectories="../zlib,../include,../regex,../extra/yassl/include"
|
||||||
PreprocessorDefinitions="NDEBUG;DBUG_OFF;HAVE_INNOBASE_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
PreprocessorDefinitions="NDEBUG;DBUG_OFF;HAVE_INNOBASE_DB;HAVE_ARCHIVE_DB;MYSQL_SERVER;_WINDOWS;_CONSOLE;HAVE_DLOPEN"
|
||||||
StringPooling="TRUE"
|
StringPooling="TRUE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="TRUE"
|
EnableFunctionLevelLinking="TRUE"
|
||||||
@ -1326,6 +1326,81 @@
|
|||||||
PreprocessorDefinitions=""/>
|
PreprocessorDefinitions=""/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="examples\ha_example.cpp">
|
||||||
|
<FileConfiguration
|
||||||
|
Name="classic nt|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Max|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Max nt|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="nt|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="pro nt|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="pro|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="classic|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
Optimization="2"
|
||||||
|
AdditionalIncludeDirectories=""
|
||||||
|
PreprocessorDefinitions=""/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="ha_berkeley.cpp">
|
RelativePath="ha_berkeley.cpp">
|
||||||
<FileConfiguration
|
<FileConfiguration
|
||||||
|
@ -50,5 +50,6 @@ enum options_client
|
|||||||
OPT_NDBCLUSTER, OPT_NDB_CONNECTSTRING,
|
OPT_NDBCLUSTER, OPT_NDB_CONNECTSTRING,
|
||||||
#endif
|
#endif
|
||||||
OPT_TRIGGERS,
|
OPT_TRIGGERS,
|
||||||
OPT_IGNORE_TABLE,OPT_INSERT_IGNORE,OPT_SHOW_WARNINGS,OPT_DROP_DATABASE
|
OPT_IGNORE_TABLE,OPT_INSERT_IGNORE,OPT_SHOW_WARNINGS,OPT_DROP_DATABASE,
|
||||||
|
OPT_AUTO_CLOSE
|
||||||
};
|
};
|
||||||
|
@ -203,7 +203,7 @@ static int com_nopager(String *str, char*), com_pager(String *str, char*),
|
|||||||
com_edit(String *str,char*), com_shell(String *str, char *);
|
com_edit(String *str,char*), com_shell(String *str, char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int read_lines(bool execute_commands);
|
static int read_and_execute(bool interactive);
|
||||||
static int sql_connect(char *host,char *database,char *user,char *password,
|
static int sql_connect(char *host,char *database,char *user,char *password,
|
||||||
uint silent);
|
uint silent);
|
||||||
static int put_info(const char *str,INFO_TYPE info,uint error=0,
|
static int put_info(const char *str,INFO_TYPE info,uint error=0,
|
||||||
@ -468,7 +468,7 @@ int main(int argc,char *argv[])
|
|||||||
"Type 'help [[%]function name[%]]' to get help on usage of function.\n");
|
"Type 'help [[%]function name[%]]' to get help on usage of function.\n");
|
||||||
#endif
|
#endif
|
||||||
put_info(buff,INFO_INFO);
|
put_info(buff,INFO_INFO);
|
||||||
status.exit_status=read_lines(1); // read lines and execute them
|
status.exit_status= read_and_execute(!status.batch);
|
||||||
if (opt_outfile)
|
if (opt_outfile)
|
||||||
end_tee();
|
end_tee();
|
||||||
mysql_end(0);
|
mysql_end(0);
|
||||||
@ -526,6 +526,10 @@ static struct my_option my_long_options[] =
|
|||||||
0, 0, 0, 0, 0},
|
0, 0, 0, 0, 0},
|
||||||
{"help", 'I', "Synonym for -?", 0, 0, 0, GET_NO_ARG, NO_ARG, 0,
|
{"help", 'I', "Synonym for -?", 0, 0, 0, GET_NO_ARG, NO_ARG, 0,
|
||||||
0, 0, 0, 0, 0},
|
0, 0, 0, 0, 0},
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
{"auto-rehash", OPT_AUTO_REHASH,
|
{"auto-rehash", OPT_AUTO_REHASH,
|
||||||
"Enable automatic rehashing. One doesn't need to use 'rehash' to get table and field completion, but startup and reconnecting may take a longer time. Disable with --disable-auto-rehash.",
|
"Enable automatic rehashing. One doesn't need to use 'rehash' to get table and field completion, but startup and reconnecting may take a longer time. Disable with --disable-auto-rehash.",
|
||||||
(gptr*) &rehash, (gptr*) &rehash, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
|
(gptr*) &rehash, (gptr*) &rehash, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
|
||||||
@ -750,6 +754,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char *argument)
|
char *argument)
|
||||||
{
|
{
|
||||||
switch(optid) {
|
switch(optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case OPT_CHARSETS_DIR:
|
case OPT_CHARSETS_DIR:
|
||||||
strmov(mysql_charsets_dir, argument);
|
strmov(mysql_charsets_dir, argument);
|
||||||
charsets_dir = mysql_charsets_dir;
|
charsets_dir = mysql_charsets_dir;
|
||||||
@ -948,7 +957,7 @@ static int get_options(int argc, char **argv)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int read_lines(bool execute_commands)
|
static int read_and_execute(bool interactive)
|
||||||
{
|
{
|
||||||
#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__)
|
#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__)
|
||||||
char linebuffer[254];
|
char linebuffer[254];
|
||||||
@ -963,7 +972,7 @@ static int read_lines(bool execute_commands)
|
|||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (status.batch || !execute_commands)
|
if (!interactive)
|
||||||
{
|
{
|
||||||
line=batch_readline(status.line_buff);
|
line=batch_readline(status.line_buff);
|
||||||
line_number++;
|
line_number++;
|
||||||
@ -1041,7 +1050,7 @@ static int read_lines(bool execute_commands)
|
|||||||
Check if line is a mysql command line
|
Check if line is a mysql command line
|
||||||
(We want to allow help, print and clear anywhere at line start
|
(We want to allow help, print and clear anywhere at line start
|
||||||
*/
|
*/
|
||||||
if (execute_commands && (named_cmds || glob_buffer.is_empty())
|
if ((named_cmds || glob_buffer.is_empty())
|
||||||
&& !in_string && (com=find_command(line,0)))
|
&& !in_string && (com=find_command(line,0)))
|
||||||
{
|
{
|
||||||
if ((*com->func)(&glob_buffer,line) > 0)
|
if ((*com->func)(&glob_buffer,line) > 0)
|
||||||
@ -1049,7 +1058,7 @@ static int read_lines(bool execute_commands)
|
|||||||
if (glob_buffer.is_empty()) // If buffer was emptied
|
if (glob_buffer.is_empty()) // If buffer was emptied
|
||||||
in_string=0;
|
in_string=0;
|
||||||
#ifdef HAVE_READLINE
|
#ifdef HAVE_READLINE
|
||||||
if (status.add_to_history && not_in_history(line))
|
if (interactive && status.add_to_history && not_in_history(line))
|
||||||
add_history(line);
|
add_history(line);
|
||||||
#endif
|
#endif
|
||||||
continue;
|
continue;
|
||||||
@ -1059,7 +1068,7 @@ static int read_lines(bool execute_commands)
|
|||||||
}
|
}
|
||||||
/* if in batch mode, send last query even if it doesn't end with \g or go */
|
/* if in batch mode, send last query even if it doesn't end with \g or go */
|
||||||
|
|
||||||
if ((status.batch || !execute_commands) && !status.exit_status)
|
if (!interactive && !status.exit_status)
|
||||||
{
|
{
|
||||||
remove_cntrl(glob_buffer);
|
remove_cntrl(glob_buffer);
|
||||||
if (!glob_buffer.is_empty())
|
if (!glob_buffer.is_empty())
|
||||||
@ -2774,7 +2783,7 @@ static int com_source(String *buffer, char *line)
|
|||||||
status.line_buff=line_buff;
|
status.line_buff=line_buff;
|
||||||
status.file_name=source_name;
|
status.file_name=source_name;
|
||||||
glob_buffer.length(0); // Empty command buffer
|
glob_buffer.length(0); // Empty command buffer
|
||||||
error=read_lines(0); // Read lines from file
|
error= read_and_execute(false);
|
||||||
status=old_status; // Continue as before
|
status=old_status; // Continue as before
|
||||||
my_fclose(sql_file,MYF(0));
|
my_fclose(sql_file,MYF(0));
|
||||||
batch_readline_end(line_buff);
|
batch_readline_end(line_buff);
|
||||||
|
@ -127,7 +127,7 @@ static TYPELIB command_typelib=
|
|||||||
static struct my_option my_long_options[] =
|
static struct my_option my_long_options[] =
|
||||||
{
|
{
|
||||||
#ifdef __NETWARE__
|
#ifdef __NETWARE__
|
||||||
{"autoclose", 'a', " Auto close the screen on exit for NetWare",
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
#endif
|
#endif
|
||||||
{"count", 'c',
|
{"count", 'c',
|
||||||
@ -227,8 +227,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
|
|
||||||
switch(optid) {
|
switch(optid) {
|
||||||
#ifdef __NETWARE__
|
#ifdef __NETWARE__
|
||||||
case 'a':
|
case OPT_AUTO_CLOSE:
|
||||||
setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen /
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case 'c':
|
case 'c':
|
||||||
|
@ -636,6 +636,11 @@ end:
|
|||||||
|
|
||||||
static struct my_option my_long_options[] =
|
static struct my_option my_long_options[] =
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
mysqlbinlog needs charsets knowledge, to be able to convert a charset
|
mysqlbinlog needs charsets knowledge, to be able to convert a charset
|
||||||
number found in binlog to a charset name (to be able to print things
|
number found in binlog to a charset name (to be able to print things
|
||||||
@ -830,6 +835,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
{
|
{
|
||||||
bool tty_password=0;
|
bool tty_password=0;
|
||||||
switch (optid) {
|
switch (optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifndef DBUG_OFF
|
#ifndef DBUG_OFF
|
||||||
case '#':
|
case '#':
|
||||||
DBUG_PUSH(argument ? argument : default_dbug_option);
|
DBUG_PUSH(argument ? argument : default_dbug_option);
|
||||||
|
@ -62,6 +62,10 @@ static struct my_option my_long_options[] =
|
|||||||
"Instead of issuing one query for each table, use one query per database, naming all tables in the database in a comma-separated list.",
|
"Instead of issuing one query for each table, use one query per database, naming all tables in the database in a comma-separated list.",
|
||||||
(gptr*) &opt_all_in_1, (gptr*) &opt_all_in_1, 0, GET_BOOL, NO_ARG, 0, 0, 0,
|
(gptr*) &opt_all_in_1, (gptr*) &opt_all_in_1, 0, GET_BOOL, NO_ARG, 0, 0, 0,
|
||||||
0, 0, 0},
|
0, 0, 0},
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
{"auto-repair", OPT_AUTO_REPAIR,
|
{"auto-repair", OPT_AUTO_REPAIR,
|
||||||
"If a checked table is corrupted, automatically fix it. Repairing will be done after all tables have been checked, if corrupted ones were found.",
|
"If a checked table is corrupted, automatically fix it. Repairing will be done after all tables have been checked, if corrupted ones were found.",
|
||||||
(gptr*) &opt_auto_repair, (gptr*) &opt_auto_repair, 0, GET_BOOL, NO_ARG, 0,
|
(gptr*) &opt_auto_repair, (gptr*) &opt_auto_repair, 0, GET_BOOL, NO_ARG, 0,
|
||||||
@ -221,6 +225,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char *argument)
|
char *argument)
|
||||||
{
|
{
|
||||||
switch(optid) {
|
switch(optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case 'a':
|
case 'a':
|
||||||
what_to_do = DO_ANALYZE;
|
what_to_do = DO_ANALYZE;
|
||||||
break;
|
break;
|
||||||
|
@ -167,6 +167,10 @@ static struct my_option my_long_options[] =
|
|||||||
{"allow-keywords", OPT_KEYWORDS,
|
{"allow-keywords", OPT_KEYWORDS,
|
||||||
"Allow creation of column names that are keywords.", (gptr*) &opt_keywords,
|
"Allow creation of column names that are keywords.", (gptr*) &opt_keywords,
|
||||||
(gptr*) &opt_keywords, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
|
(gptr*) &opt_keywords, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
{"character-sets-dir", OPT_CHARSETS_DIR,
|
{"character-sets-dir", OPT_CHARSETS_DIR,
|
||||||
"Directory where character sets are.", (gptr*) &charsets_dir,
|
"Directory where character sets are.", (gptr*) &charsets_dir,
|
||||||
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
@ -572,6 +576,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char *argument)
|
char *argument)
|
||||||
{
|
{
|
||||||
switch (optid) {
|
switch (optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case 'p':
|
case 'p':
|
||||||
if (argument)
|
if (argument)
|
||||||
{
|
{
|
||||||
|
@ -57,6 +57,10 @@ static char *shared_memory_base_name=0;
|
|||||||
|
|
||||||
static struct my_option my_long_options[] =
|
static struct my_option my_long_options[] =
|
||||||
{
|
{
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
{"character-sets-dir", OPT_CHARSETS_DIR,
|
{"character-sets-dir", OPT_CHARSETS_DIR,
|
||||||
"Directory where character sets are.", (gptr*) &charsets_dir,
|
"Directory where character sets are.", (gptr*) &charsets_dir,
|
||||||
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
@ -182,6 +186,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char *argument)
|
char *argument)
|
||||||
{
|
{
|
||||||
switch(optid) {
|
switch(optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case 'p':
|
case 'p':
|
||||||
if (argument)
|
if (argument)
|
||||||
{
|
{
|
||||||
|
@ -156,6 +156,10 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
static struct my_option my_long_options[] =
|
static struct my_option my_long_options[] =
|
||||||
{
|
{
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
{"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.",
|
||||||
|
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
|
#endif
|
||||||
{"character-sets-dir", 'c', "Directory where character sets are.",
|
{"character-sets-dir", 'c', "Directory where character sets are.",
|
||||||
(gptr*) &charsets_dir, (gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0,
|
(gptr*) &charsets_dir, (gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0,
|
||||||
0, 0, 0, 0, 0},
|
0, 0, 0, 0, 0},
|
||||||
@ -253,6 +257,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
|
|||||||
char *argument)
|
char *argument)
|
||||||
{
|
{
|
||||||
switch(optid) {
|
switch(optid) {
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
case OPT_AUTO_CLOSE:
|
||||||
|
setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
case 'v':
|
case 'v':
|
||||||
opt_verbose++;
|
opt_verbose++;
|
||||||
break;
|
break;
|
||||||
|
@ -2447,7 +2447,7 @@ thread_dirs=
|
|||||||
|
|
||||||
dnl This probably should be cleaned up more - for now the threaded
|
dnl This probably should be cleaned up more - for now the threaded
|
||||||
dnl client is just using plain-old libs.
|
dnl client is just using plain-old libs.
|
||||||
sql_client_dirs="strings regex mysys sql/share libmysql client"
|
sql_client_dirs="strings regex mysys libmysql client"
|
||||||
linked_client_targets="linked_libmysql_sources"
|
linked_client_targets="linked_libmysql_sources"
|
||||||
|
|
||||||
if test "$THREAD_SAFE_CLIENT" != "no"
|
if test "$THREAD_SAFE_CLIENT" != "no"
|
||||||
|
@ -71,6 +71,7 @@ static struct my_option my_long_options[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <help_start.h>
|
#include <help_start.h>
|
||||||
|
|
||||||
static void usage(my_bool version)
|
static void usage(my_bool version)
|
||||||
|
@ -1013,20 +1013,24 @@ typedef char bool; /* Ordinary boolean values 0 1 */
|
|||||||
#define MY_HOW_OFTEN_TO_ALARM 2 /* How often we want info on screen */
|
#define MY_HOW_OFTEN_TO_ALARM 2 /* How often we want info on screen */
|
||||||
#define MY_HOW_OFTEN_TO_WRITE 1000 /* How often we want info on screen */
|
#define MY_HOW_OFTEN_TO_WRITE 1000 /* How often we want info on screen */
|
||||||
|
|
||||||
#ifndef set_timespec
|
|
||||||
#ifdef HAVE_TIMESPEC_TS_SEC
|
#ifdef HAVE_TIMESPEC_TS_SEC
|
||||||
|
#ifndef set_timespec
|
||||||
#define set_timespec(ABSTIME,SEC) \
|
#define set_timespec(ABSTIME,SEC) \
|
||||||
{ \
|
{ \
|
||||||
(ABSTIME).ts_sec=time(0) + (time_t) (SEC); \
|
(ABSTIME).ts_sec=time(0) + (time_t) (SEC); \
|
||||||
(ABSTIME).ts_nsec=0; \
|
(ABSTIME).ts_nsec=0; \
|
||||||
}
|
}
|
||||||
|
#endif /* !set_timespec */
|
||||||
|
#ifndef set_timespec_nsec
|
||||||
#define set_timespec_nsec(ABSTIME,NSEC) \
|
#define set_timespec_nsec(ABSTIME,NSEC) \
|
||||||
{ \
|
{ \
|
||||||
ulonglong now= my_getsystime() + (NSEC/100); \
|
ulonglong now= my_getsystime() + (NSEC/100); \
|
||||||
(ABSTIME).ts_sec= (now / ULL(10000000)); \
|
(ABSTIME).ts_sec= (now / ULL(10000000)); \
|
||||||
(ABSTIME).ts_nsec= (now % ULL(10000000) * 100 + ((NSEC) % 100)); \
|
(ABSTIME).ts_nsec= (now % ULL(10000000) * 100 + ((NSEC) % 100)); \
|
||||||
}
|
}
|
||||||
|
#endif /* !set_timespec_nsec */
|
||||||
#else
|
#else
|
||||||
|
#ifndef set_timespec
|
||||||
#define set_timespec(ABSTIME,SEC) \
|
#define set_timespec(ABSTIME,SEC) \
|
||||||
{\
|
{\
|
||||||
struct timeval tv;\
|
struct timeval tv;\
|
||||||
@ -1034,14 +1038,16 @@ typedef char bool; /* Ordinary boolean values 0 1 */
|
|||||||
(ABSTIME).tv_sec=tv.tv_sec+(time_t) (SEC);\
|
(ABSTIME).tv_sec=tv.tv_sec+(time_t) (SEC);\
|
||||||
(ABSTIME).tv_nsec=tv.tv_usec*1000;\
|
(ABSTIME).tv_nsec=tv.tv_usec*1000;\
|
||||||
}
|
}
|
||||||
|
#endif /* !set_timespec */
|
||||||
|
#ifndef set_timespec_nsec
|
||||||
#define set_timespec_nsec(ABSTIME,NSEC) \
|
#define set_timespec_nsec(ABSTIME,NSEC) \
|
||||||
{\
|
{\
|
||||||
ulonglong now= my_getsystime() + (NSEC/100); \
|
ulonglong now= my_getsystime() + (NSEC/100); \
|
||||||
(ABSTIME).tv_sec= (now / ULL(10000000)); \
|
(ABSTIME).tv_sec= (now / ULL(10000000)); \
|
||||||
(ABSTIME).tv_nsec= (now % ULL(10000000) * 100 + ((NSEC) % 100)); \
|
(ABSTIME).tv_nsec= (now % ULL(10000000) * 100 + ((NSEC) % 100)); \
|
||||||
}
|
}
|
||||||
|
#endif /* !set_timespec_nsec */
|
||||||
#endif /* HAVE_TIMESPEC_TS_SEC */
|
#endif /* HAVE_TIMESPEC_TS_SEC */
|
||||||
#endif /* set_timespec */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Define-funktions for reading and storing in machine independent format
|
Define-funktions for reading and storing in machine independent format
|
||||||
|
@ -98,6 +98,7 @@ extern int NEAR my_errno; /* Last error in mysys */
|
|||||||
#define MY_RETURN_REAL_PATH 32 /* return full path for file */
|
#define MY_RETURN_REAL_PATH 32 /* return full path for file */
|
||||||
#define MY_SAFE_PATH 64 /* Return NULL if too long path */
|
#define MY_SAFE_PATH 64 /* Return NULL if too long path */
|
||||||
#define MY_RELATIVE_PATH 128 /* name is relative to 'dir' */
|
#define MY_RELATIVE_PATH 128 /* name is relative to 'dir' */
|
||||||
|
#define MY_UNIX_PATH 256 /* convert path to UNIX format */
|
||||||
|
|
||||||
/* My seek flags */
|
/* My seek flags */
|
||||||
#define MY_SEEK_SET 0
|
#define MY_SEEK_SET 0
|
||||||
|
@ -50,6 +50,7 @@ dist-hook:
|
|||||||
$(distdir)/std_data $(distdir)/lib
|
$(distdir)/std_data $(distdir)/lib
|
||||||
-$(INSTALL_DATA) $(srcdir)/t/*.def $(distdir)/t
|
-$(INSTALL_DATA) $(srcdir)/t/*.def $(distdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.test $(distdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.test $(distdir)/t
|
||||||
|
-$(INSTALL_DATA) $(srcdir)/t/*.imtest $(distdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.sql $(distdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.sql $(distdir)/t
|
||||||
-$(INSTALL_DATA) $(srcdir)/t/*.disabled $(distdir)/t
|
-$(INSTALL_DATA) $(srcdir)/t/*.disabled $(distdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.opt $(srcdir)/t/*.sh $(srcdir)/t/*.slave-mi $(distdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.opt $(srcdir)/t/*.sh $(srcdir)/t/*.slave-mi $(distdir)/t
|
||||||
@ -73,6 +74,7 @@ install-data-local:
|
|||||||
$(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(testdir)
|
$(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(testdir)
|
||||||
-$(INSTALL_DATA) $(srcdir)/t/*.def $(DESTDIR)$(testdir)/t
|
-$(INSTALL_DATA) $(srcdir)/t/*.def $(DESTDIR)$(testdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.test $(DESTDIR)$(testdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.test $(DESTDIR)$(testdir)/t
|
||||||
|
-$(INSTALL_DATA) $(srcdir)/t/*.imtest $(DESTDIR)$(testdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.sql $(DESTDIR)$(testdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.sql $(DESTDIR)$(testdir)/t
|
||||||
-$(INSTALL_DATA) $(srcdir)/t/*.disabled $(DESTDIR)$(testdir)/t
|
-$(INSTALL_DATA) $(srcdir)/t/*.disabled $(DESTDIR)$(testdir)/t
|
||||||
$(INSTALL_DATA) $(srcdir)/t/*.opt $(DESTDIR)$(testdir)/t
|
$(INSTALL_DATA) $(srcdir)/t/*.opt $(DESTDIR)$(testdir)/t
|
||||||
|
@ -8,7 +8,7 @@ use File::Basename;
|
|||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
sub collect_test_cases ($);
|
sub collect_test_cases ($);
|
||||||
sub collect_one_test_case ($$$$$$);
|
sub collect_one_test_case ($$$$$$$);
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
@ -40,13 +40,84 @@ sub collect_test_cases ($) {
|
|||||||
if ( @::opt_cases )
|
if ( @::opt_cases )
|
||||||
{
|
{
|
||||||
foreach my $tname ( @::opt_cases ) { # Run in specified order, no sort
|
foreach my $tname ( @::opt_cases ) { # Run in specified order, no sort
|
||||||
$tname= basename($tname, ".test");
|
my $elem= undef;
|
||||||
my $elem= "$tname.test";
|
my $component_id= undef;
|
||||||
if ( ! -f "$testdir/$elem")
|
|
||||||
|
# Get rid of directory part (path). Leave the extension since it is used
|
||||||
|
# to understand type of the test.
|
||||||
|
|
||||||
|
$tname = basename($tname);
|
||||||
|
|
||||||
|
# Check if the extenstion has been specified.
|
||||||
|
|
||||||
|
if ( mtr_match_extension($tname, "test") )
|
||||||
{
|
{
|
||||||
mtr_error("Test case $tname ($testdir/$elem) is not found");
|
$elem= $tname;
|
||||||
|
$tname=~ s/\.test$//;
|
||||||
|
$component_id= 'mysqld';
|
||||||
}
|
}
|
||||||
collect_one_test_case($testdir,$resdir,$tname,$elem,$cases,{});
|
elsif ( mtr_match_extension($tname, "imtest") )
|
||||||
|
{
|
||||||
|
$elem= $tname;
|
||||||
|
$tname =~ s/\.imtest$//;
|
||||||
|
$component_id= 'im';
|
||||||
|
|
||||||
|
if ( $::glob_use_embedded_server )
|
||||||
|
{
|
||||||
|
mtr_report(
|
||||||
|
"Instance Manager's tests are not available in embedded mode." .
|
||||||
|
"Test case '$tname' is skipped.");
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
|
unless ( $::exe_im )
|
||||||
|
{
|
||||||
|
mtr_report(
|
||||||
|
"Instance Manager executable is unavailable. " .
|
||||||
|
"Test case '$tname' is skipped.");
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# If target component is known, check that the specified test case
|
||||||
|
# exists.
|
||||||
|
#
|
||||||
|
# Otherwise, try to guess the target component.
|
||||||
|
|
||||||
|
if ( defined $component_id )
|
||||||
|
{
|
||||||
|
if ( ! -f "$testdir/$elem")
|
||||||
|
{
|
||||||
|
mtr_error("Test case $tname ($testdir/$elem) is not found");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
my $mysqld_test_exists = -f "$testdir/$tname.test";
|
||||||
|
my $im_test_exists = -f "$testdir/$tname.imtest";
|
||||||
|
|
||||||
|
if ( $mysqld_test_exists && $im_test_exists )
|
||||||
|
{
|
||||||
|
mtr_error("Ambiguos test case name ($tname)");
|
||||||
|
}
|
||||||
|
elsif ( ! $mysqld_test_exists && !$im_test_exists )
|
||||||
|
{
|
||||||
|
mtr_error("Test case $tname is not found");
|
||||||
|
}
|
||||||
|
elsif ( $mysqld_test_exists )
|
||||||
|
{
|
||||||
|
$elem= "$tname.test";
|
||||||
|
$component_id= 'mysqld';
|
||||||
|
}
|
||||||
|
elsif ( $im_test_exists )
|
||||||
|
{
|
||||||
|
$elem= "$tname.imtest";
|
||||||
|
$component_id= 'im';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
collect_one_test_case($testdir,$resdir,$tname,$elem,$cases,{},
|
||||||
|
$component_id);
|
||||||
}
|
}
|
||||||
closedir TESTDIR;
|
closedir TESTDIR;
|
||||||
}
|
}
|
||||||
@ -70,11 +141,26 @@ sub collect_test_cases ($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach my $elem ( sort readdir(TESTDIR) ) {
|
foreach my $elem ( sort readdir(TESTDIR) ) {
|
||||||
my $tname= mtr_match_extension($elem,"test");
|
my $component_id= undef;
|
||||||
next if ! defined $tname;
|
my $tname= undef;
|
||||||
|
|
||||||
|
if ($tname= mtr_match_extension($elem, 'test'))
|
||||||
|
{
|
||||||
|
$component_id = 'mysqld';
|
||||||
|
}
|
||||||
|
elsif ($tname= mtr_match_extension($elem, 'imtest'))
|
||||||
|
{
|
||||||
|
$component_id = 'im';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
next if $::opt_do_test and ! defined mtr_match_prefix($elem,$::opt_do_test);
|
next if $::opt_do_test and ! defined mtr_match_prefix($elem,$::opt_do_test);
|
||||||
|
|
||||||
collect_one_test_case($testdir,$resdir,$tname,$elem,$cases,\%disabled);
|
collect_one_test_case($testdir,$resdir,$tname,$elem,$cases,\%disabled,
|
||||||
|
$component_id);
|
||||||
}
|
}
|
||||||
closedir TESTDIR;
|
closedir TESTDIR;
|
||||||
}
|
}
|
||||||
@ -112,13 +198,14 @@ sub collect_test_cases ($) {
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
|
||||||
sub collect_one_test_case($$$$$$) {
|
sub collect_one_test_case($$$$$$$) {
|
||||||
my $testdir= shift;
|
my $testdir= shift;
|
||||||
my $resdir= shift;
|
my $resdir= shift;
|
||||||
my $tname= shift;
|
my $tname= shift;
|
||||||
my $elem= shift;
|
my $elem= shift;
|
||||||
my $cases= shift;
|
my $cases= shift;
|
||||||
my $disabled=shift;
|
my $disabled=shift;
|
||||||
|
my $component_id= shift;
|
||||||
|
|
||||||
my $path= "$testdir/$elem";
|
my $path= "$testdir/$elem";
|
||||||
|
|
||||||
@ -138,6 +225,7 @@ sub collect_one_test_case($$$$$$) {
|
|||||||
my $tinfo= {};
|
my $tinfo= {};
|
||||||
$tinfo->{'name'}= $tname;
|
$tinfo->{'name'}= $tname;
|
||||||
$tinfo->{'result_file'}= "$resdir/$tname.result";
|
$tinfo->{'result_file'}= "$resdir/$tname.result";
|
||||||
|
$tinfo->{'component_id'} = $component_id;
|
||||||
push(@$cases, $tinfo);
|
push(@$cases, $tinfo);
|
||||||
|
|
||||||
if ( $::opt_skip_test and defined mtr_match_prefix($tname,$::opt_skip_test) )
|
if ( $::opt_skip_test and defined mtr_match_prefix($tname,$::opt_skip_test) )
|
||||||
@ -188,6 +276,7 @@ sub collect_one_test_case($$$$$$) {
|
|||||||
my $master_sh= "$testdir/$tname-master.sh";
|
my $master_sh= "$testdir/$tname-master.sh";
|
||||||
my $slave_sh= "$testdir/$tname-slave.sh";
|
my $slave_sh= "$testdir/$tname-slave.sh";
|
||||||
my $disabled_file= "$testdir/$tname.disabled";
|
my $disabled_file= "$testdir/$tname.disabled";
|
||||||
|
my $im_opt_file= "$testdir/$tname-im.opt";
|
||||||
|
|
||||||
$tinfo->{'master_opt'}= $::glob_win32 ? ["--default-time-zone=+3:00"] : [];
|
$tinfo->{'master_opt'}= $::glob_win32 ? ["--default-time-zone=+3:00"] : [];
|
||||||
$tinfo->{'slave_opt'}= $::glob_win32 ? ["--default-time-zone=+3:00"] : [];
|
$tinfo->{'slave_opt'}= $::glob_win32 ? ["--default-time-zone=+3:00"] : [];
|
||||||
@ -290,6 +379,15 @@ sub collect_one_test_case($$$$$$) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( -f $im_opt_file )
|
||||||
|
{
|
||||||
|
$tinfo->{'im_opts'} = mtr_get_opts_from_file($im_opt_file);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$tinfo->{'im_opts'} = [];
|
||||||
|
}
|
||||||
|
|
||||||
# FIXME why this late?
|
# FIXME why this late?
|
||||||
if ( $disabled->{$tname} )
|
if ( $disabled->{$tname} )
|
||||||
{
|
{
|
||||||
|
@ -12,16 +12,17 @@ use strict;
|
|||||||
#use POSIX ":sys_wait_h";
|
#use POSIX ":sys_wait_h";
|
||||||
use POSIX 'WNOHANG';
|
use POSIX 'WNOHANG';
|
||||||
|
|
||||||
sub mtr_run ($$$$$$);
|
sub mtr_run ($$$$$$;$);
|
||||||
sub mtr_spawn ($$$$$$);
|
sub mtr_spawn ($$$$$$;$);
|
||||||
sub mtr_stop_mysqld_servers ($);
|
sub mtr_stop_mysqld_servers ($);
|
||||||
sub mtr_kill_leftovers ();
|
sub mtr_kill_leftovers ();
|
||||||
sub mtr_record_dead_children ();
|
sub mtr_record_dead_children ();
|
||||||
sub mtr_exit ($);
|
sub mtr_exit ($);
|
||||||
sub sleep_until_file_created ($$$);
|
sub sleep_until_file_created ($$$);
|
||||||
|
sub mtr_kill_processes ($);
|
||||||
|
|
||||||
# static in C
|
# static in C
|
||||||
sub spawn_impl ($$$$$$$);
|
sub spawn_impl ($$$$$$$$);
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
@ -32,37 +33,43 @@ sub spawn_impl ($$$$$$$);
|
|||||||
# This function try to mimic the C version used in "netware/mysql_test_run.c"
|
# This function try to mimic the C version used in "netware/mysql_test_run.c"
|
||||||
# FIXME learn it to handle append mode as well, a "new" flag or a "append"
|
# FIXME learn it to handle append mode as well, a "new" flag or a "append"
|
||||||
|
|
||||||
sub mtr_run ($$$$$$) {
|
sub mtr_run ($$$$$$;$) {
|
||||||
my $path= shift;
|
my $path= shift;
|
||||||
my $arg_list_t= shift;
|
my $arg_list_t= shift;
|
||||||
my $input= shift;
|
my $input= shift;
|
||||||
my $output= shift;
|
my $output= shift;
|
||||||
my $error= shift;
|
my $error= shift;
|
||||||
my $pid_file= shift;
|
my $pid_file= shift;
|
||||||
|
my $spawn_opts= shift;
|
||||||
|
|
||||||
return spawn_impl($path,$arg_list_t,'run',$input,$output,$error,$pid_file);
|
return spawn_impl($path,$arg_list_t,'run',$input,$output,$error,$pid_file,
|
||||||
|
$spawn_opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub mtr_run_test ($$$$$$) {
|
sub mtr_run_test ($$$$$$;$) {
|
||||||
my $path= shift;
|
my $path= shift;
|
||||||
my $arg_list_t= shift;
|
my $arg_list_t= shift;
|
||||||
my $input= shift;
|
my $input= shift;
|
||||||
my $output= shift;
|
my $output= shift;
|
||||||
my $error= shift;
|
my $error= shift;
|
||||||
my $pid_file= shift;
|
my $pid_file= shift;
|
||||||
|
my $spawn_opts= shift;
|
||||||
|
|
||||||
return spawn_impl($path,$arg_list_t,'test',$input,$output,$error,$pid_file);
|
return spawn_impl($path,$arg_list_t,'test',$input,$output,$error,$pid_file,
|
||||||
|
$spawn_opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub mtr_spawn ($$$$$$) {
|
sub mtr_spawn ($$$$$$;$) {
|
||||||
my $path= shift;
|
my $path= shift;
|
||||||
my $arg_list_t= shift;
|
my $arg_list_t= shift;
|
||||||
my $input= shift;
|
my $input= shift;
|
||||||
my $output= shift;
|
my $output= shift;
|
||||||
my $error= shift;
|
my $error= shift;
|
||||||
my $pid_file= shift;
|
my $pid_file= shift;
|
||||||
|
my $spawn_opts= shift;
|
||||||
|
|
||||||
return spawn_impl($path,$arg_list_t,'spawn',$input,$output,$error,$pid_file);
|
return spawn_impl($path,$arg_list_t,'spawn',$input,$output,$error,$pid_file,
|
||||||
|
$spawn_opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -72,7 +79,7 @@ sub mtr_spawn ($$$$$$) {
|
|||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
sub spawn_impl ($$$$$$$) {
|
sub spawn_impl ($$$$$$$$) {
|
||||||
my $path= shift;
|
my $path= shift;
|
||||||
my $arg_list_t= shift;
|
my $arg_list_t= shift;
|
||||||
my $mode= shift;
|
my $mode= shift;
|
||||||
@ -80,6 +87,7 @@ sub spawn_impl ($$$$$$$) {
|
|||||||
my $output= shift;
|
my $output= shift;
|
||||||
my $error= shift;
|
my $error= shift;
|
||||||
my $pid_file= shift; # FIXME
|
my $pid_file= shift; # FIXME
|
||||||
|
my $spawn_opts= shift;
|
||||||
|
|
||||||
if ( $::opt_script_debug )
|
if ( $::opt_script_debug )
|
||||||
{
|
{
|
||||||
@ -89,6 +97,18 @@ sub spawn_impl ($$$$$$$) {
|
|||||||
print STDERR "#### ", "STDOUT $output\n" if $output;
|
print STDERR "#### ", "STDOUT $output\n" if $output;
|
||||||
print STDERR "#### ", "STDERR $error\n" if $error;
|
print STDERR "#### ", "STDERR $error\n" if $error;
|
||||||
print STDERR "#### ", "$mode : $path ", join(" ",@$arg_list_t), "\n";
|
print STDERR "#### ", "$mode : $path ", join(" ",@$arg_list_t), "\n";
|
||||||
|
print STDERR "#### ", "spawn options:\n";
|
||||||
|
if ($spawn_opts)
|
||||||
|
{
|
||||||
|
foreach my $key (sort keys %{$spawn_opts})
|
||||||
|
{
|
||||||
|
print STDERR "#### ", " - $key: $spawn_opts->{$key}\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print STDERR "#### ", " none\n";
|
||||||
|
}
|
||||||
print STDERR "#### ", "-" x 78, "\n";
|
print STDERR "#### ", "-" x 78, "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -135,9 +155,16 @@ sub spawn_impl ($$$$$$$) {
|
|||||||
# $ENV{'COMSPEC'}= "$::glob_cygwin_shell -c";
|
# $ENV{'COMSPEC'}= "$::glob_cygwin_shell -c";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $log_file_open_mode = '>';
|
||||||
|
|
||||||
|
if ($spawn_opts and $spawn_opts->{'append_log_file'})
|
||||||
|
{
|
||||||
|
$log_file_open_mode = '>>';
|
||||||
|
}
|
||||||
|
|
||||||
if ( $output )
|
if ( $output )
|
||||||
{
|
{
|
||||||
if ( ! open(STDOUT,">",$output) )
|
if ( ! open(STDOUT,$log_file_open_mode,$output) )
|
||||||
{
|
{
|
||||||
mtr_error("can't redirect STDOUT to \"$output\": $!");
|
mtr_error("can't redirect STDOUT to \"$output\": $!");
|
||||||
}
|
}
|
||||||
@ -154,7 +181,7 @@ sub spawn_impl ($$$$$$$) {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( ! open(STDERR,">",$error) )
|
if ( ! open(STDERR,$log_file_open_mode,$error) )
|
||||||
{
|
{
|
||||||
mtr_error("can't redirect STDERR to \"$output\": $!");
|
mtr_error("can't redirect STDERR to \"$output\": $!");
|
||||||
}
|
}
|
||||||
@ -534,16 +561,7 @@ sub mtr_stop_mysqld_servers ($) {
|
|||||||
start_reap_all(); # Avoid zombies
|
start_reap_all(); # Avoid zombies
|
||||||
|
|
||||||
SIGNAL:
|
SIGNAL:
|
||||||
foreach my $sig (15,9)
|
mtr_kill_processes(\keys (%mysqld_pids));
|
||||||
{
|
|
||||||
my $retries= 20; # FIXME 20 seconds, this is silly!
|
|
||||||
kill($sig, keys %mysqld_pids);
|
|
||||||
while ( $retries-- and kill(0, keys %mysqld_pids) )
|
|
||||||
{
|
|
||||||
mtr_debug("Sleep 1 second waiting for processes to die");
|
|
||||||
sleep(1) # Wait one second
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stop_reap_all(); # Get into control again
|
stop_reap_all(); # Get into control again
|
||||||
|
|
||||||
@ -805,7 +823,7 @@ sub sleep_until_file_created ($$$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Check if it died after the fork() was successful
|
# Check if it died after the fork() was successful
|
||||||
if ( waitpid($pid,&WNOHANG) == $pid )
|
if ( $pid > 0 && waitpid($pid,&WNOHANG) == $pid )
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -826,6 +844,21 @@ sub sleep_until_file_created ($$$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub mtr_kill_processes ($) {
|
||||||
|
my $pids = shift;
|
||||||
|
|
||||||
|
foreach my $sig (15,9)
|
||||||
|
{
|
||||||
|
my $retries= 20; # FIXME 20 seconds, this is silly!
|
||||||
|
kill($sig, @{$pids});
|
||||||
|
while ( $retries-- and kill(0, @{$pids}) )
|
||||||
|
{
|
||||||
|
mtr_debug("Sleep 1 second waiting for processes to die");
|
||||||
|
sleep(1) # Wait one second
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# When we exit, we kill off all children
|
# When we exit, we kill off all children
|
||||||
@ -841,6 +874,7 @@ sub sleep_until_file_created ($$$) {
|
|||||||
sub mtr_exit ($) {
|
sub mtr_exit ($) {
|
||||||
my $code= shift;
|
my $code= shift;
|
||||||
# cluck("Called mtr_exit()");
|
# cluck("Called mtr_exit()");
|
||||||
|
mtr_timer_stop_all($::glob_timers);
|
||||||
local $SIG{HUP} = 'IGNORE';
|
local $SIG{HUP} = 'IGNORE';
|
||||||
kill('HUP', -$$);
|
kill('HUP', -$$);
|
||||||
sleep 2;
|
sleep 2;
|
||||||
|
@ -177,7 +177,7 @@ sub mtr_report_stats ($) {
|
|||||||
"%.2f\% were successful.\n\n", $ratio;
|
"%.2f\% were successful.\n\n", $ratio;
|
||||||
print
|
print
|
||||||
"The log files in var/log may give you some hint\n",
|
"The log files in var/log may give you some hint\n",
|
||||||
"of what when wrong.\n",
|
"of what went wrong.\n",
|
||||||
"If you want to report this error, please read first ",
|
"If you want to report this error, please read first ",
|
||||||
"the documentation at\n",
|
"the documentation at\n",
|
||||||
"http://www.mysql.com/doc/en/MySQL_test_suite.html\n";
|
"http://www.mysql.com/doc/en/MySQL_test_suite.html\n";
|
||||||
@ -223,7 +223,8 @@ sub mtr_report_stats ($) {
|
|||||||
|
|
||||||
if ( $tot_failed != 0 )
|
if ( $tot_failed != 0 )
|
||||||
{
|
{
|
||||||
print "mysql-test-run: *** Failing the test(s):";
|
my $test_mode= join(" ", @::glob_test_mode) || "default";
|
||||||
|
print "mysql-test-run in $test_mode mode: *** Failing the test(s):";
|
||||||
|
|
||||||
foreach my $tinfo (@$tests)
|
foreach my $tinfo (@$tests)
|
||||||
{
|
{
|
||||||
|
@ -15,6 +15,7 @@ use POSIX 'WNOHANG';
|
|||||||
sub mtr_init_timers ();
|
sub mtr_init_timers ();
|
||||||
sub mtr_timer_start($$$);
|
sub mtr_timer_start($$$);
|
||||||
sub mtr_timer_stop($$);
|
sub mtr_timer_stop($$);
|
||||||
|
sub mtr_timer_stop_all($);
|
||||||
sub mtr_timer_waitpid($$$);
|
sub mtr_timer_waitpid($$$);
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@ -113,6 +114,17 @@ sub mtr_timer_stop ($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub mtr_timer_stop_all ($) {
|
||||||
|
my $timers= shift;
|
||||||
|
|
||||||
|
foreach my $name ( keys %{$timers->{'timers'}} )
|
||||||
|
{
|
||||||
|
mtr_timer_stop($timers, $name);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
sub mtr_timer_timeout ($$) {
|
sub mtr_timer_timeout ($$) {
|
||||||
my ($timers,$pid)= @_;
|
my ($timers,$pid)= @_;
|
||||||
|
|
||||||
|
@ -142,6 +142,7 @@ our $glob_timers= undef;
|
|||||||
our $glob_use_running_server= 0;
|
our $glob_use_running_server= 0;
|
||||||
our $glob_use_running_ndbcluster= 0;
|
our $glob_use_running_ndbcluster= 0;
|
||||||
our $glob_use_embedded_server= 0;
|
our $glob_use_embedded_server= 0;
|
||||||
|
our @glob_test_mode;
|
||||||
|
|
||||||
our $glob_basedir;
|
our $glob_basedir;
|
||||||
|
|
||||||
@ -177,6 +178,7 @@ our $exe_mysqlshow; # Called from test case
|
|||||||
our $exe_mysql_fix_system_tables;
|
our $exe_mysql_fix_system_tables;
|
||||||
our $exe_mysqltest;
|
our $exe_mysqltest;
|
||||||
our $exe_slave_mysqld;
|
our $exe_slave_mysqld;
|
||||||
|
our $exe_im;
|
||||||
|
|
||||||
our $opt_bench= 0;
|
our $opt_bench= 0;
|
||||||
our $opt_small_bench= 0;
|
our $opt_small_bench= 0;
|
||||||
@ -215,6 +217,8 @@ our $opt_local_master;
|
|||||||
our $master; # Will be struct in C
|
our $master; # Will be struct in C
|
||||||
our $slave;
|
our $slave;
|
||||||
|
|
||||||
|
our $instance_manager;
|
||||||
|
|
||||||
our $opt_ndbcluster_port;
|
our $opt_ndbcluster_port;
|
||||||
our $opt_ndbconnectstring;
|
our $opt_ndbconnectstring;
|
||||||
|
|
||||||
@ -308,6 +312,8 @@ sub mysqld_arguments ($$$$$);
|
|||||||
sub stop_masters_slaves ();
|
sub stop_masters_slaves ();
|
||||||
sub stop_masters ();
|
sub stop_masters ();
|
||||||
sub stop_slaves ();
|
sub stop_slaves ();
|
||||||
|
sub im_start ($$);
|
||||||
|
sub im_stop ($);
|
||||||
sub run_mysqltest ($);
|
sub run_mysqltest ($);
|
||||||
sub usage ($);
|
sub usage ($);
|
||||||
|
|
||||||
@ -459,6 +465,9 @@ sub command_line_setup () {
|
|||||||
my $opt_master_myport= 9306;
|
my $opt_master_myport= 9306;
|
||||||
my $opt_slave_myport= 9308;
|
my $opt_slave_myport= 9308;
|
||||||
$opt_ndbcluster_port= 9350;
|
$opt_ndbcluster_port= 9350;
|
||||||
|
my $im_port= 9310;
|
||||||
|
my $im_mysqld1_port= 9312;
|
||||||
|
my $im_mysqld2_port= 9314;
|
||||||
|
|
||||||
# Read the command line
|
# Read the command line
|
||||||
# Note: Keep list, and the order, in sync with usage at end of this file
|
# Note: Keep list, and the order, in sync with usage at end of this file
|
||||||
@ -485,6 +494,9 @@ sub command_line_setup () {
|
|||||||
'slave_port=i' => \$opt_slave_myport,
|
'slave_port=i' => \$opt_slave_myport,
|
||||||
'ndbcluster_port=i' => \$opt_ndbcluster_port,
|
'ndbcluster_port=i' => \$opt_ndbcluster_port,
|
||||||
'manager-port=i' => \$opt_manager_port, # Currently not used
|
'manager-port=i' => \$opt_manager_port, # Currently not used
|
||||||
|
'im-port=i' => \$im_port, # Instance Manager port.
|
||||||
|
'im-mysqld1-port=i' => \$im_mysqld1_port, # Port of mysqld, controlled by IM
|
||||||
|
'im-mysqld2-port=i' => \$im_mysqld2_port, # Port of mysqld, controlled by IM
|
||||||
|
|
||||||
# Test case authoring
|
# Test case authoring
|
||||||
'record' => \$opt_record,
|
'record' => \$opt_record,
|
||||||
@ -606,6 +618,7 @@ sub command_line_setup () {
|
|||||||
if ( $opt_embedded_server )
|
if ( $opt_embedded_server )
|
||||||
{
|
{
|
||||||
$glob_use_embedded_server= 1;
|
$glob_use_embedded_server= 1;
|
||||||
|
push(@glob_test_mode, "embedded");
|
||||||
$opt_skip_rpl= 1; # We never run replication with embedded
|
$opt_skip_rpl= 1; # We never run replication with embedded
|
||||||
|
|
||||||
if ( $opt_extern )
|
if ( $opt_extern )
|
||||||
@ -614,6 +627,11 @@ sub command_line_setup () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $opt_ps_protocol )
|
||||||
|
{
|
||||||
|
push(@glob_test_mode, "ps-protocol");
|
||||||
|
}
|
||||||
|
|
||||||
# FIXME don't understand what this is
|
# FIXME don't understand what this is
|
||||||
# if ( $opt_local_master )
|
# if ( $opt_local_master )
|
||||||
# {
|
# {
|
||||||
@ -761,6 +779,37 @@ sub command_line_setup () {
|
|||||||
$slave->[2]->{'path_myport'}= $opt_slave_myport + 2;
|
$slave->[2]->{'path_myport'}= $opt_slave_myport + 2;
|
||||||
$slave->[2]->{'start_timeout'}= 300;
|
$slave->[2]->{'start_timeout'}= 300;
|
||||||
|
|
||||||
|
$instance_manager->{'path_err'}= "$opt_vardir/log/im.err";
|
||||||
|
$instance_manager->{'path_log'}= "$opt_vardir/log/im.log";
|
||||||
|
$instance_manager->{'path_pid'}= "$opt_vardir/run/im.pid";
|
||||||
|
$instance_manager->{'path_sock'}= "$opt_tmpdir/im.sock";
|
||||||
|
$instance_manager->{'port'}= $im_port;
|
||||||
|
$instance_manager->{'start_timeout'}= $master->[0]->{'start_timeout'};
|
||||||
|
$instance_manager->{'admin_login'}= 'im_admin';
|
||||||
|
$instance_manager->{'admin_password'}= 'im_admin_secret';
|
||||||
|
$instance_manager->{'admin_sha1'}= '*598D51AD2DFF7792045D6DF3DDF9AA1AF737B295';
|
||||||
|
$instance_manager->{'password_file'}= "$opt_vardir/im.passwd";
|
||||||
|
$instance_manager->{'defaults_file'}= "$opt_vardir/im.cnf";
|
||||||
|
|
||||||
|
$instance_manager->{'instances'}->[0]->{'server_id'}= 1;
|
||||||
|
$instance_manager->{'instances'}->[0]->{'port'}= $im_mysqld1_port;
|
||||||
|
$instance_manager->{'instances'}->[0]->{'path_datadir'}=
|
||||||
|
"$opt_vardir/im_mysqld_1.data";
|
||||||
|
$instance_manager->{'instances'}->[0]->{'path_sock'}=
|
||||||
|
"$opt_vardir/mysqld_1.sock";
|
||||||
|
$instance_manager->{'instances'}->[0]->{'path_pid'}=
|
||||||
|
"$opt_vardir/mysqld_1.pid";
|
||||||
|
|
||||||
|
$instance_manager->{'instances'}->[1]->{'server_id'}= 2;
|
||||||
|
$instance_manager->{'instances'}->[1]->{'port'}= $im_mysqld2_port;
|
||||||
|
$instance_manager->{'instances'}->[1]->{'path_datadir'}=
|
||||||
|
"$opt_vardir/im_mysqld_2.data";
|
||||||
|
$instance_manager->{'instances'}->[1]->{'path_sock'}=
|
||||||
|
"$opt_vardir/mysqld_2.sock";
|
||||||
|
$instance_manager->{'instances'}->[1]->{'path_pid'}=
|
||||||
|
"$opt_vardir/mysqld_2.pid";
|
||||||
|
$instance_manager->{'instances'}->[1]->{'nonguarded'}= 1;
|
||||||
|
|
||||||
if ( $opt_extern )
|
if ( $opt_extern )
|
||||||
{
|
{
|
||||||
$glob_use_running_server= 1;
|
$glob_use_running_server= 1;
|
||||||
@ -796,6 +845,9 @@ sub executable_setup () {
|
|||||||
$exe_mysqld= mtr_exe_exists ("$glob_basedir/sql/mysqld");
|
$exe_mysqld= mtr_exe_exists ("$glob_basedir/sql/mysqld");
|
||||||
$path_language= mtr_path_exists("$glob_basedir/sql/share/english/");
|
$path_language= mtr_path_exists("$glob_basedir/sql/share/english/");
|
||||||
$path_charsetsdir= mtr_path_exists("$glob_basedir/sql/share/charsets");
|
$path_charsetsdir= mtr_path_exists("$glob_basedir/sql/share/charsets");
|
||||||
|
|
||||||
|
$exe_im= mtr_exe_exists(
|
||||||
|
"$glob_basedir/server-tools/instance-manager/mysqlmanager");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $glob_use_embedded_server )
|
if ( $glob_use_embedded_server )
|
||||||
@ -843,6 +895,8 @@ sub executable_setup () {
|
|||||||
$exe_mysqld= mtr_exe_exists ("$glob_basedir/libexec/mysqld",
|
$exe_mysqld= mtr_exe_exists ("$glob_basedir/libexec/mysqld",
|
||||||
"$glob_basedir/bin/mysqld");
|
"$glob_basedir/bin/mysqld");
|
||||||
|
|
||||||
|
$exe_im= mtr_exe_exists("$glob_basedir/libexec/mysqlmanager",
|
||||||
|
"$glob_basedir/bin/mysqlmanager");
|
||||||
if ( $glob_use_embedded_server )
|
if ( $glob_use_embedded_server )
|
||||||
{
|
{
|
||||||
$exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest_embedded");
|
$exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest_embedded");
|
||||||
@ -916,6 +970,11 @@ sub environment_setup () {
|
|||||||
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
|
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
|
||||||
$ENV{'MYSQL_TCP_PORT'}= 3306;
|
$ENV{'MYSQL_TCP_PORT'}= 3306;
|
||||||
|
|
||||||
|
$ENV{'IM_MYSQLD1_SOCK'}= $instance_manager->{instances}->[0]->{path_sock};
|
||||||
|
$ENV{'IM_MYSQLD1_PORT'}= $instance_manager->{instances}->[0]->{port};
|
||||||
|
$ENV{'IM_MYSQLD2_SOCK'}= $instance_manager->{instances}->[1]->{path_sock};
|
||||||
|
$ENV{'IM_MYSQLD2_PORT'}= $instance_manager->{instances}->[1]->{port};
|
||||||
|
|
||||||
if ( $glob_cygwin_perl )
|
if ( $glob_cygwin_perl )
|
||||||
{
|
{
|
||||||
foreach my $key ('MYSQL_TEST_WINDIR','MASTER_MYSOCK')
|
foreach my $key ('MYSQL_TEST_WINDIR','MASTER_MYSOCK')
|
||||||
@ -999,25 +1058,24 @@ sub kill_and_cleanup () {
|
|||||||
# FIXME do we really need to create these all, or are they
|
# FIXME do we really need to create these all, or are they
|
||||||
# created for us when tables are created?
|
# created for us when tables are created?
|
||||||
|
|
||||||
rmtree("$master->[0]->{'path_myddir'}");
|
my @data_dir_lst = (
|
||||||
mkpath("$master->[0]->{'path_myddir'}/mysql");
|
$master->[0]->{'path_myddir'},
|
||||||
mkpath("$master->[0]->{'path_myddir'}/test");
|
$master->[1]->{'path_myddir'},
|
||||||
|
$slave->[0]->{'path_myddir'},
|
||||||
|
$slave->[1]->{'path_myddir'},
|
||||||
|
$slave->[2]->{'path_myddir'});
|
||||||
|
|
||||||
|
foreach my $instance (@{$instance_manager->{'instances'}})
|
||||||
|
{
|
||||||
|
push (@data_dir_lst, $instance->{'path_datadir'});
|
||||||
|
}
|
||||||
|
|
||||||
rmtree("$master->[1]->{'path_myddir'}");
|
foreach my $data_dir (@data_dir_lst)
|
||||||
mkpath("$master->[1]->{'path_myddir'}/mysql");
|
{
|
||||||
mkpath("$master->[1]->{'path_myddir'}/test");
|
rmtree("$data_dir");
|
||||||
|
mkpath("$data_dir/mysql");
|
||||||
rmtree("$slave->[0]->{'path_myddir'}");
|
mkpath("$data_dir/test");
|
||||||
mkpath("$slave->[0]->{'path_myddir'}/mysql");
|
}
|
||||||
mkpath("$slave->[0]->{'path_myddir'}/test");
|
|
||||||
|
|
||||||
rmtree("$slave->[1]->{'path_myddir'}");
|
|
||||||
mkpath("$slave->[1]->{'path_myddir'}/mysql");
|
|
||||||
mkpath("$slave->[1]->{'path_myddir'}/test");
|
|
||||||
|
|
||||||
rmtree("$slave->[2]->{'path_myddir'}");
|
|
||||||
mkpath("$slave->[2]->{'path_myddir'}/mysql");
|
|
||||||
mkpath("$slave->[2]->{'path_myddir'}/test");
|
|
||||||
|
|
||||||
# To make some old test cases work, we create a soft
|
# To make some old test cases work, we create a soft
|
||||||
# link from the old "var" location to the new one
|
# link from the old "var" location to the new one
|
||||||
@ -1255,6 +1313,11 @@ sub mysql_install_db () {
|
|||||||
install_db('slave', $slave->[1]->{'path_myddir'});
|
install_db('slave', $slave->[1]->{'path_myddir'});
|
||||||
install_db('slave', $slave->[2]->{'path_myddir'});
|
install_db('slave', $slave->[2]->{'path_myddir'});
|
||||||
|
|
||||||
|
if ( defined $exe_im)
|
||||||
|
{
|
||||||
|
im_prepare_env($instance_manager);
|
||||||
|
}
|
||||||
|
|
||||||
if ( ndbcluster_install() )
|
if ( ndbcluster_install() )
|
||||||
{
|
{
|
||||||
# failed to install, disable usage but flag that its no ok
|
# failed to install, disable usage but flag that its no ok
|
||||||
@ -1329,6 +1392,101 @@ sub install_db ($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub im_prepare_env($) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
|
||||||
|
im_create_passwd_file($instance_manager);
|
||||||
|
im_prepare_data_dir($instance_manager);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub im_create_passwd_file($) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
|
||||||
|
my $pwd_file_path = $instance_manager->{'password_file'};
|
||||||
|
|
||||||
|
mtr_report("Creating IM password file ($pwd_file_path)");
|
||||||
|
|
||||||
|
open(OUT, ">", $pwd_file_path)
|
||||||
|
or mtr_error("Can't write to $pwd_file_path: $!");
|
||||||
|
|
||||||
|
print OUT $instance_manager->{'admin_login'}, ":",
|
||||||
|
$instance_manager->{'admin_sha1'}, "\n";
|
||||||
|
|
||||||
|
close(OUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub im_create_defaults_file($) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
|
||||||
|
my $defaults_file = $instance_manager->{'defaults_file'};
|
||||||
|
|
||||||
|
open(OUT, ">", $defaults_file)
|
||||||
|
or mtr_error("Can't write to $defaults_file: $!");
|
||||||
|
|
||||||
|
print OUT <<EOF
|
||||||
|
[mysql]
|
||||||
|
|
||||||
|
[manager]
|
||||||
|
pid-file = $instance_manager->{path_pid}
|
||||||
|
socket = $instance_manager->{path_sock}
|
||||||
|
port = $instance_manager->{port}
|
||||||
|
password-file = $instance_manager->{password_file}
|
||||||
|
default-mysqld-path = $exe_mysqld
|
||||||
|
|
||||||
|
EOF
|
||||||
|
;
|
||||||
|
|
||||||
|
foreach my $instance (@{$instance_manager->{'instances'}})
|
||||||
|
{
|
||||||
|
my $server_id = $instance->{'server_id'};
|
||||||
|
|
||||||
|
print OUT <<EOF
|
||||||
|
[mysqld$server_id]
|
||||||
|
socket = $instance->{path_sock}
|
||||||
|
pid-file = $instance->{path_pid}
|
||||||
|
port = $instance->{port}
|
||||||
|
datadir = $instance->{path_datadir}
|
||||||
|
log = $instance->{path_datadir}/mysqld$server_id.log
|
||||||
|
log-error = $instance->{path_datadir}/mysqld$server_id.err.log
|
||||||
|
log-slow-queries = $instance->{path_datadir}/mysqld$server_id.slow.log
|
||||||
|
language = $path_language
|
||||||
|
character-sets-dir = $path_charsetsdir
|
||||||
|
basedir = $path_my_basedir
|
||||||
|
server_id =$server_id
|
||||||
|
skip-stack-trace
|
||||||
|
skip-innodb
|
||||||
|
skip-bdb
|
||||||
|
skip-ndbcluster
|
||||||
|
EOF
|
||||||
|
;
|
||||||
|
|
||||||
|
if ( exists $instance->{nonguarded} and
|
||||||
|
defined $instance->{nonguarded} )
|
||||||
|
{
|
||||||
|
print OUT "nonguarded\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
print OUT "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
close(OUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
sub im_prepare_data_dir($) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
|
||||||
|
foreach my $instance (@{$instance_manager->{'instances'}})
|
||||||
|
{
|
||||||
|
install_db(
|
||||||
|
'im_mysqld_' . $instance->{'server_id'},
|
||||||
|
$instance->{'path_datadir'});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Run a single test case
|
# Run a single test case
|
||||||
@ -1430,7 +1588,7 @@ sub run_testcase ($) {
|
|||||||
# FIXME split up start and check that started so that can do
|
# FIXME split up start and check that started so that can do
|
||||||
# starts in parallel, masters and slaves at the same time.
|
# starts in parallel, masters and slaves at the same time.
|
||||||
|
|
||||||
if ( ! $opt_local_master )
|
if ( $tinfo->{'component_id'} eq 'mysqld' and ! $opt_local_master )
|
||||||
{
|
{
|
||||||
if ( $master->[0]->{'ndbcluster'} )
|
if ( $master->[0]->{'ndbcluster'} )
|
||||||
{
|
{
|
||||||
@ -1469,6 +1627,17 @@ sub run_testcase ($) {
|
|||||||
$master->[0]->{'running_master_is_special'}= 1;
|
$master->[0]->{'running_master_is_special'}= 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif ( $tinfo->{'component_id'} eq 'im')
|
||||||
|
{
|
||||||
|
# We have to create defaults file every time, in order to ensure that it
|
||||||
|
# will be the same for each test. The problem is that test can change the
|
||||||
|
# file (by SET/UNSET commands), so w/o recreating the file, execution of
|
||||||
|
# one test can affect the other.
|
||||||
|
|
||||||
|
im_create_defaults_file($instance_manager);
|
||||||
|
|
||||||
|
im_start($instance_manager, $tinfo->{im_opts});
|
||||||
|
}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Start slaves - if needed
|
# Start slaves - if needed
|
||||||
@ -1551,6 +1720,15 @@ sub run_testcase ($) {
|
|||||||
report_failure_and_restart($tinfo);
|
report_failure_and_restart($tinfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Stop Instance Manager if we are processing an IM-test case.
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
if ( ! $glob_use_running_server and $tinfo->{'component_id'} eq 'im' )
|
||||||
|
{
|
||||||
|
im_stop($instance_manager);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1562,8 +1740,9 @@ sub report_failure_and_restart ($) {
|
|||||||
print "\n";
|
print "\n";
|
||||||
if ( ! $opt_force )
|
if ( ! $opt_force )
|
||||||
{
|
{
|
||||||
print "Aborting: $tinfo->{'name'} failed. To continue, re-run with '--force'.";
|
my $test_mode= join(" ", @::glob_test_mode) || "default";
|
||||||
print "\n";
|
print "Aborting: $tinfo->{'name'} failed in $test_mode mode. ";
|
||||||
|
print "To continue, re-run with '--force'.\n";
|
||||||
if ( ! $opt_gdb and ! $glob_use_running_server and
|
if ( ! $opt_gdb and ! $glob_use_running_server and
|
||||||
! $opt_ddd and ! $glob_use_embedded_server )
|
! $opt_ddd and ! $glob_use_embedded_server )
|
||||||
{
|
{
|
||||||
@ -1980,6 +2159,13 @@ sub mysqld_start ($$$$) {
|
|||||||
sub stop_masters_slaves () {
|
sub stop_masters_slaves () {
|
||||||
|
|
||||||
print "Ending Tests\n";
|
print "Ending Tests\n";
|
||||||
|
|
||||||
|
if (defined $instance_manager->{'pid'})
|
||||||
|
{
|
||||||
|
print "Shutting-down Instance Manager\n";
|
||||||
|
im_stop($instance_manager);
|
||||||
|
}
|
||||||
|
|
||||||
print "Shutting-down MySQL daemon\n\n";
|
print "Shutting-down MySQL daemon\n\n";
|
||||||
stop_masters();
|
stop_masters();
|
||||||
print "Master(s) shutdown finished\n";
|
print "Master(s) shutdown finished\n";
|
||||||
@ -2038,6 +2224,97 @@ sub stop_slaves () {
|
|||||||
mtr_stop_mysqld_servers(\@args);
|
mtr_stop_mysqld_servers(\@args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Instance Manager management routines.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
sub im_start($$) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
my $opts = shift;
|
||||||
|
|
||||||
|
if ( ! defined $exe_im)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
my $args;
|
||||||
|
mtr_init_args(\$args);
|
||||||
|
mtr_add_arg($args, "--defaults-file=" . $instance_manager->{'defaults_file'});
|
||||||
|
|
||||||
|
foreach my $opt (@{$opts})
|
||||||
|
{
|
||||||
|
mtr_add_arg($args, $opt);
|
||||||
|
}
|
||||||
|
|
||||||
|
$instance_manager->{'pid'} =
|
||||||
|
mtr_spawn(
|
||||||
|
$exe_im, # path to the executable
|
||||||
|
$args, # cmd-line args
|
||||||
|
'', # stdin
|
||||||
|
$instance_manager->{'path_log'}, # stdout
|
||||||
|
$instance_manager->{'path_err'}, # stderr
|
||||||
|
'', # pid file path (not used)
|
||||||
|
{ append_log_file => 1 } # append log files
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( ! defined $instance_manager->{'pid'} )
|
||||||
|
{
|
||||||
|
mtr_report('Could not start Instance Manager');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Instance Manager can be run in daemon mode. In this case, it creates
|
||||||
|
# several processes and the parent process, created by mtr_spawn(), exits just
|
||||||
|
# after start. So, we have to obtain Instance Manager PID from the PID file.
|
||||||
|
|
||||||
|
sleep_until_file_created(
|
||||||
|
$instance_manager->{'path_pid'},
|
||||||
|
$instance_manager->{'start_timeout'},
|
||||||
|
-1); # real PID is still unknown
|
||||||
|
|
||||||
|
$instance_manager->{'pid'} =
|
||||||
|
mtr_get_pid_from_file($instance_manager->{'path_pid'});
|
||||||
|
}
|
||||||
|
|
||||||
|
sub im_stop($) {
|
||||||
|
my $instance_manager = shift;
|
||||||
|
|
||||||
|
if (! defined $instance_manager->{'pid'})
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Inspired from mtr_stop_mysqld_servers().
|
||||||
|
|
||||||
|
start_reap_all();
|
||||||
|
|
||||||
|
# Create list of pids. We should stop Instance Manager and all started
|
||||||
|
# mysqld-instances. Some of them may be nonguarded, so IM will not stop them
|
||||||
|
# on shutdown.
|
||||||
|
|
||||||
|
my @pids = ( $instance_manager->{'pid'} );
|
||||||
|
my $instances = $instance_manager->{'instances'};
|
||||||
|
|
||||||
|
if ( -r $instances->[0]->{'path_pid'} )
|
||||||
|
{
|
||||||
|
push @pids, mtr_get_pid_from_file($instances->[0]->{'path_pid'});
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( -r $instances->[1]->{'path_pid'} )
|
||||||
|
{
|
||||||
|
push @pids, mtr_get_pid_from_file($instances->[1]->{'path_pid'});
|
||||||
|
}
|
||||||
|
|
||||||
|
# Kill processes.
|
||||||
|
|
||||||
|
mtr_kill_processes(\@pids);
|
||||||
|
|
||||||
|
stop_reap_all();
|
||||||
|
|
||||||
|
$instance_manager->{'pid'} = undef;
|
||||||
|
}
|
||||||
|
|
||||||
sub run_mysqltest ($) {
|
sub run_mysqltest ($) {
|
||||||
my $tinfo= shift;
|
my $tinfo= shift;
|
||||||
@ -2061,7 +2338,9 @@ sub run_mysqltest ($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $cmdline_mysqlbinlog=
|
my $cmdline_mysqlbinlog=
|
||||||
"$exe_mysqlbinlog --no-defaults --local-load=$opt_tmpdir --character-sets-dir=$path_charsetsdir";
|
"$exe_mysqlbinlog" .
|
||||||
|
" --no-defaults --local-load=$opt_tmpdir" .
|
||||||
|
" --character-sets-dir=$path_charsetsdir";
|
||||||
|
|
||||||
if ( $opt_debug )
|
if ( $opt_debug )
|
||||||
{
|
{
|
||||||
@ -2119,15 +2398,26 @@ sub run_mysqltest ($) {
|
|||||||
mtr_init_args(\$args);
|
mtr_init_args(\$args);
|
||||||
|
|
||||||
mtr_add_arg($args, "--no-defaults");
|
mtr_add_arg($args, "--no-defaults");
|
||||||
mtr_add_arg($args, "--socket=%s", $master->[0]->{'path_mysock'});
|
|
||||||
mtr_add_arg($args, "--database=test");
|
|
||||||
mtr_add_arg($args, "--user=%s", $opt_user);
|
|
||||||
mtr_add_arg($args, "--password=");
|
|
||||||
mtr_add_arg($args, "--silent");
|
mtr_add_arg($args, "--silent");
|
||||||
mtr_add_arg($args, "-v");
|
mtr_add_arg($args, "-v");
|
||||||
mtr_add_arg($args, "--skip-safemalloc");
|
mtr_add_arg($args, "--skip-safemalloc");
|
||||||
mtr_add_arg($args, "--tmpdir=%s", $opt_tmpdir);
|
mtr_add_arg($args, "--tmpdir=%s", $opt_tmpdir);
|
||||||
mtr_add_arg($args, "--port=%d", $master->[0]->{'path_myport'});
|
|
||||||
|
if ($tinfo->{'component_id'} eq 'im')
|
||||||
|
{
|
||||||
|
mtr_add_arg($args, "--socket=%s", $instance_manager->{'path_sock'});
|
||||||
|
mtr_add_arg($args, "--port=%d", $instance_manager->{'port'});
|
||||||
|
mtr_add_arg($args, "--user=%s", $instance_manager->{'admin_login'});
|
||||||
|
mtr_add_arg($args, "--password=%s", $instance_manager->{'admin_password'});
|
||||||
|
}
|
||||||
|
else # component_id == mysqld
|
||||||
|
{
|
||||||
|
mtr_add_arg($args, "--socket=%s", $master->[0]->{'path_mysock'});
|
||||||
|
mtr_add_arg($args, "--port=%d", $master->[0]->{'path_myport'});
|
||||||
|
mtr_add_arg($args, "--database=test");
|
||||||
|
mtr_add_arg($args, "--user=%s", $opt_user);
|
||||||
|
mtr_add_arg($args, "--password=");
|
||||||
|
}
|
||||||
|
|
||||||
if ( $opt_ps_protocol )
|
if ( $opt_ps_protocol )
|
||||||
{
|
{
|
||||||
@ -2216,7 +2506,6 @@ Options to control what engine/variation to run
|
|||||||
ps-protocol Use the binary protocol between client and server
|
ps-protocol Use the binary protocol between client and server
|
||||||
bench Run the benchmark suite FIXME
|
bench Run the benchmark suite FIXME
|
||||||
small-bench FIXME
|
small-bench FIXME
|
||||||
no-manager Use the istanse manager (currently disabled)
|
|
||||||
|
|
||||||
Options to control what test suites or cases to run
|
Options to control what test suites or cases to run
|
||||||
|
|
||||||
@ -2233,7 +2522,6 @@ Options that specify ports
|
|||||||
master_port=PORT Specify the port number used by the first master
|
master_port=PORT Specify the port number used by the first master
|
||||||
slave_port=PORT Specify the port number used by the first slave
|
slave_port=PORT Specify the port number used by the first slave
|
||||||
ndbcluster_port=PORT Specify the port number used by cluster
|
ndbcluster_port=PORT Specify the port number used by cluster
|
||||||
manager-port=PORT Specify the port number used by manager (currently not used)
|
|
||||||
|
|
||||||
Options for test case authoring
|
Options for test case authoring
|
||||||
|
|
||||||
|
@ -872,7 +872,7 @@ report_stats () {
|
|||||||
$ECHO "Failed ${TOT_FAIL}/${TOT_TEST} tests, ${whole}.${deci}% were successful."
|
$ECHO "Failed ${TOT_FAIL}/${TOT_TEST} tests, ${whole}.${deci}% were successful."
|
||||||
$ECHO ""
|
$ECHO ""
|
||||||
$ECHO "The log files in $MY_LOG_DIR may give you some hint"
|
$ECHO "The log files in $MY_LOG_DIR may give you some hint"
|
||||||
$ECHO "of what when wrong."
|
$ECHO "of what went wrong."
|
||||||
$ECHO "If you want to report this error, please read first the documentation at"
|
$ECHO "If you want to report this error, please read first the documentation at"
|
||||||
$ECHO "http://www.mysql.com/doc/en/MySQL_test_suite.html"
|
$ECHO "http://www.mysql.com/doc/en/MySQL_test_suite.html"
|
||||||
fi
|
fi
|
||||||
|
@ -523,6 +523,10 @@ alter table t1 drop key no_such_key;
|
|||||||
ERROR 42000: Can't DROP 'no_such_key'; check that column/key exists
|
ERROR 42000: Can't DROP 'no_such_key'; check that column/key exists
|
||||||
alter table t1 drop key a;
|
alter table t1 drop key a;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
CREATE TABLE T12207(a int) ENGINE=MYISAM;
|
||||||
|
ALTER TABLE T12207 DISCARD TABLESPACE;
|
||||||
|
ERROR HY000: Table storage engine for 'T12207' doesn't have this option
|
||||||
|
DROP TABLE T12207;
|
||||||
create table t1 (a text) character set koi8r;
|
create table t1 (a text) character set koi8r;
|
||||||
insert into t1 values (_koi8r'<27><><EFBFBD><EFBFBD>');
|
insert into t1 values (_koi8r'<27><><EFBFBD><EFBFBD>');
|
||||||
select hex(a) from t1;
|
select hex(a) from t1;
|
||||||
@ -591,3 +595,18 @@ alter table t1 add unique key (i, v);
|
|||||||
select * from t1 where i between 2 and 4 and v in ('def','3r4f','lmn');
|
select * from t1 where i between 2 and 4 and v in ('def','3r4f','lmn');
|
||||||
i v
|
i v
|
||||||
4 3r4f
|
4 3r4f
|
||||||
|
create database mysqltest1;
|
||||||
|
create table t1 (c1 int);
|
||||||
|
alter table t1 rename mysqltest1.t1;
|
||||||
|
drop table t1;
|
||||||
|
ERROR 42S02: Unknown table 't1'
|
||||||
|
alter table mysqltest1.t1 rename t1;
|
||||||
|
drop table t1;
|
||||||
|
create table t1 (c1 int);
|
||||||
|
use mysqltest1;
|
||||||
|
drop database mysqltest1;
|
||||||
|
alter table test.t1 rename t1;
|
||||||
|
ERROR 3D000: No database selected
|
||||||
|
alter table test.t1 rename test.t1;
|
||||||
|
use test;
|
||||||
|
drop table t1;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -596,6 +596,12 @@ ERROR 42000: Incorrect database name 'xyz'
|
|||||||
create table t1(t1.name int);
|
create table t1(t1.name int);
|
||||||
create table t2(test.t2.name int);
|
create table t2(test.t2.name int);
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
CREATE TABLE t1 (f1 VARCHAR(255) CHARACTER SET utf8);
|
||||||
|
CREATE TABLE t2 AS SELECT LEFT(f1,171) AS f2 FROM t1 UNION SELECT LEFT(f1,171) AS f2 FROM t1;
|
||||||
|
DESC t2;
|
||||||
|
Field Type Null Key Default Extra
|
||||||
|
f2 varchar(171) YES NULL
|
||||||
|
DROP TABLE t1,t2;
|
||||||
create database mysqltest;
|
create database mysqltest;
|
||||||
use mysqltest;
|
use mysqltest;
|
||||||
drop database mysqltest;
|
drop database mysqltest;
|
||||||
|
@ -287,7 +287,7 @@ lpad('STRING', 20, CONCAT('p','a','d') )
|
|||||||
padpadpadpadpaSTRING
|
padpadpadpadpaSTRING
|
||||||
select LEAST(NULL,'HARRY','HARRIOT',NULL,'HAROLD'),GREATEST(NULL,'HARRY','HARRIOT',NULL,'HAROLD');
|
select LEAST(NULL,'HARRY','HARRIOT',NULL,'HAROLD'),GREATEST(NULL,'HARRY','HARRIOT',NULL,'HAROLD');
|
||||||
LEAST(NULL,'HARRY','HARRIOT',NULL,'HAROLD') GREATEST(NULL,'HARRY','HARRIOT',NULL,'HAROLD')
|
LEAST(NULL,'HARRY','HARRIOT',NULL,'HAROLD') GREATEST(NULL,'HARRY','HARRIOT',NULL,'HAROLD')
|
||||||
HAROLD HARRY
|
NULL NULL
|
||||||
select least(1,2,3) | greatest(16,32,8), least(5,4)*1,greatest(-1.0,1.0)*1,least(3,2,1)*1.0,greatest(1,1.1,1.0),least("10",9),greatest("A","B","0");
|
select least(1,2,3) | greatest(16,32,8), least(5,4)*1,greatest(-1.0,1.0)*1,least(3,2,1)*1.0,greatest(1,1.1,1.0),least("10",9),greatest("A","B","0");
|
||||||
least(1,2,3) | greatest(16,32,8) least(5,4)*1 greatest(-1.0,1.0)*1 least(3,2,1)*1.0 greatest(1,1.1,1.0) least("10",9) greatest("A","B","0")
|
least(1,2,3) | greatest(16,32,8) least(5,4)*1 greatest(-1.0,1.0)*1 least(3,2,1)*1.0 greatest(1,1.1,1.0) least("10",9) greatest("A","B","0")
|
||||||
33 4 1.0 1.0 1.1 9 B
|
33 4 1.0 1.0 1.1 9 B
|
||||||
|
@ -166,7 +166,6 @@ CREATE TABLE t2 ( access_id smallint(6) NOT NULL default '0', name varchar(20
|
|||||||
INSERT INTO t2 VALUES (1,'Everyone',2),(2,'Help',3),(3,'Customer Support',1);
|
INSERT INTO t2 VALUES (1,'Everyone',2),(2,'Help',3),(3,'Customer Support',1);
|
||||||
SELECT f_acc.rank, a1.rank, a2.rank FROM t1 LEFT JOIN t1 f1 ON (f1.access_id=1 AND f1.faq_group_id = t1.faq_group_id) LEFT JOIN t2 a1 ON (a1.access_id = f1.access_id) LEFT JOIN t1 f2 ON (f2.access_id=3 AND f2.faq_group_id = t1.faq_group_id) LEFT JOIN t2 a2 ON (a2.access_id = f2.access_id), t2 f_acc WHERE LEAST(a1.rank,a2.rank) = f_acc.rank;
|
SELECT f_acc.rank, a1.rank, a2.rank FROM t1 LEFT JOIN t1 f1 ON (f1.access_id=1 AND f1.faq_group_id = t1.faq_group_id) LEFT JOIN t2 a1 ON (a1.access_id = f1.access_id) LEFT JOIN t1 f2 ON (f2.access_id=3 AND f2.faq_group_id = t1.faq_group_id) LEFT JOIN t2 a2 ON (a2.access_id = f2.access_id), t2 f_acc WHERE LEAST(a1.rank,a2.rank) = f_acc.rank;
|
||||||
rank rank rank
|
rank rank rank
|
||||||
2 2 NULL
|
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
CREATE TABLE t1 (d varchar(6), k int);
|
CREATE TABLE t1 (d varchar(6), k int);
|
||||||
INSERT INTO t1 VALUES (NULL, 2);
|
INSERT INTO t1 VALUES (NULL, 2);
|
||||||
@ -193,3 +192,15 @@ select * from t1 where a not between 1 and 2 and b not between 3 and 4;
|
|||||||
a b
|
a b
|
||||||
4 5
|
4 5
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
SELECT GREATEST(1,NULL) FROM DUAL;
|
||||||
|
GREATEST(1,NULL)
|
||||||
|
NULL
|
||||||
|
SELECT LEAST('xxx','aaa',NULL,'yyy') FROM DUAL;
|
||||||
|
LEAST('xxx','aaa',NULL,'yyy')
|
||||||
|
NULL
|
||||||
|
SELECT LEAST(1.1,1.2,NULL,1.0) FROM DUAL;
|
||||||
|
LEAST(1.1,1.2,NULL,1.0)
|
||||||
|
NULL
|
||||||
|
SELECT GREATEST(1.5E+2,1.3E+2,NULL) FROM DUAL;
|
||||||
|
GREATEST(1.5E+2,1.3E+2,NULL)
|
||||||
|
NULL
|
||||||
|
@ -803,3 +803,16 @@ CREATE TABLE t2 (geom GEOMETRY NOT NULL, SPATIAL KEY gk(geom));
|
|||||||
INSERT INTO t2 SELECT GeomFromText(st) FROM t1;
|
INSERT INTO t2 SELECT GeomFromText(st) FROM t1;
|
||||||
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
|
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
|
||||||
drop table t1, t2;
|
drop table t1, t2;
|
||||||
|
CREATE TABLE t1 (`geometry` geometry NOT NULL default '',SPATIAL KEY `gndx` (`geometry`(32))) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
|
INSERT INTO t1 (geometry) VALUES
|
||||||
|
(PolygonFromText('POLYGON((-18.6086111000 -66.9327777000, -18.6055555000
|
||||||
|
-66.8158332999, -18.7186111000 -66.8102777000, -18.7211111000 -66.9269443999,
|
||||||
|
-18.6086111000 -66.9327777000))'));
|
||||||
|
INSERT INTO t1 (geometry) VALUES
|
||||||
|
(PolygonFromText('POLYGON((-65.7402776999 -96.6686111000, -65.7372222000
|
||||||
|
-96.5516666000, -65.8502777000 -96.5461111000, -65.8527777000 -96.6627777000,
|
||||||
|
-65.7402776999 -96.6686111000))'));
|
||||||
|
check table t1 extended;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 check status OK
|
||||||
|
drop table t1;
|
||||||
|
@ -670,3 +670,13 @@ create trigger t1_bu before update on t1 for each row set new.s1 = null;
|
|||||||
insert into t1 values (null,null);
|
insert into t1 values (null,null);
|
||||||
ERROR 23000: Column 's1' cannot be null
|
ERROR 23000: Column 's1' cannot be null
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
drop procedure if exists fn3;
|
||||||
|
create function fn3 () returns point return GeomFromText("point(1 1)");
|
||||||
|
show create function fn3;
|
||||||
|
Function sql_mode Create Function
|
||||||
|
fn3 CREATE FUNCTION `fn3`() RETURNS point
|
||||||
|
return GeomFromText("point(1 1)")
|
||||||
|
select astext(fn3());
|
||||||
|
astext(fn3())
|
||||||
|
POINT(1 1)
|
||||||
|
drop function fn3;
|
||||||
|
@ -1972,6 +1972,26 @@ a
|
|||||||
b
|
b
|
||||||
c
|
c
|
||||||
d
|
d
|
||||||
|
create table bug12672 (
|
||||||
|
pk_col int auto_increment primary key, a1 char(64), a2 char(64), b char(16), c char(16) not null, d char(16), dummy char(64) default ' '
|
||||||
|
) engine=innodb;
|
||||||
|
insert into bug12672 (a1, a2, b, c, d, dummy) select * from t1;
|
||||||
|
create index idx12672_0 on bug12672 (a1);
|
||||||
|
create index idx12672_1 on bug12672 (a1,a2,b,c);
|
||||||
|
create index idx12672_2 on bug12672 (a1,a2,b);
|
||||||
|
analyze table t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 analyze status Table is already up to date
|
||||||
|
explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
|
||||||
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
|
1 SIMPLE bug12672 range PRIMARY PRIMARY 4 NULL # Using where; Using temporary
|
||||||
|
select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
|
||||||
|
a1
|
||||||
|
a
|
||||||
|
b
|
||||||
|
c
|
||||||
|
d
|
||||||
|
drop table bug12672;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
drop table t2;
|
drop table t2;
|
||||||
drop table t3;
|
drop table t3;
|
||||||
|
@ -134,3 +134,72 @@ select * from t1 where id1 = 1 and id2= '20040101';
|
|||||||
id1 id2
|
id1 id2
|
||||||
1 2004-01-01
|
1 2004-01-01
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
drop view if exists v1;
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
`oid` int(11) unsigned NOT NULL auto_increment,
|
||||||
|
`fk_bbk_niederlassung` int(11) unsigned NOT NULL,
|
||||||
|
`fk_wochentag` int(11) unsigned NOT NULL,
|
||||||
|
`uhrzeit_von` time NOT NULL COMMENT 'HH:MM',
|
||||||
|
`uhrzeit_bis` time NOT NULL COMMENT 'HH:MM',
|
||||||
|
`geloescht` tinyint(4) NOT NULL,
|
||||||
|
`version` int(5) NOT NULL,
|
||||||
|
PRIMARY KEY (`oid`),
|
||||||
|
KEY `fk_bbk_niederlassung` (`fk_bbk_niederlassung`),
|
||||||
|
KEY `fk_wochentag` (`fk_wochentag`),
|
||||||
|
KEY `ix_version` (`version`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
insert into t1 values
|
||||||
|
(1, 38, 1, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(2, 38, 2, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(3, 38, 3, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(4, 38, 4, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(5, 38, 5, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(6, 38, 5, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(7, 38, 3, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(8, 38, 1, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(9, 38, 2, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(10, 38, 4, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(11, 38, 1, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(12, 38, 2, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(13, 38, 3, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(14, 38, 4, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(15, 38, 5, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(16, 38, 4, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(17, 38, 5, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(18, 38, 1, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(19, 38, 2, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(20, 38, 3, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(21, 7, 1, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(22, 7, 2, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(23, 7, 3, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(24, 7, 4, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(25, 7, 5, '08:00:00', '13:00:00', 0, 1);
|
||||||
|
create view v1 as
|
||||||
|
select
|
||||||
|
zeit1.oid AS oid,
|
||||||
|
zeit1.fk_bbk_niederlassung AS fk_bbk_niederlassung,
|
||||||
|
zeit1.fk_wochentag AS fk_wochentag,
|
||||||
|
zeit1.uhrzeit_von AS uhrzeit_von,
|
||||||
|
zeit1.uhrzeit_bis AS uhrzeit_bis,
|
||||||
|
zeit1.geloescht AS geloescht,
|
||||||
|
zeit1.version AS version
|
||||||
|
from
|
||||||
|
t1 zeit1
|
||||||
|
where
|
||||||
|
(zeit1.version =
|
||||||
|
(select max(zeit2.version) AS `max(version)`
|
||||||
|
from t1 zeit2
|
||||||
|
where
|
||||||
|
((zeit1.fk_bbk_niederlassung = zeit2.fk_bbk_niederlassung) and
|
||||||
|
(zeit1.fk_wochentag = zeit2.fk_wochentag) and
|
||||||
|
(zeit1.uhrzeit_von = zeit2.uhrzeit_von) and
|
||||||
|
(zeit1.uhrzeit_bis = zeit2.uhrzeit_bis)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
and (zeit1.geloescht = 0);
|
||||||
|
select * from v1 where oid = 21;
|
||||||
|
oid fk_bbk_niederlassung fk_wochentag uhrzeit_von uhrzeit_bis geloescht version
|
||||||
|
21 7 1 08:00:00 13:00:00 0 1
|
||||||
|
drop view v1;
|
||||||
|
drop table t1;
|
||||||
|
@ -308,7 +308,7 @@ Function sql_mode Create Function
|
|||||||
sub1
|
sub1
|
||||||
show create function sub2;
|
show create function sub2;
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
sub2 CREATE FUNCTION `test`.`sub2`(i int) RETURNS int(11)
|
sub2 CREATE FUNCTION `sub2`(i int) RETURNS int(11)
|
||||||
return i+1
|
return i+1
|
||||||
show function status like "sub2";
|
show function status like "sub2";
|
||||||
Db Name Type Definer Modified Created Security_type Comment
|
Db Name Type Definer Modified Created Security_type Comment
|
||||||
@ -316,7 +316,7 @@ test sub2 FUNCTION mysqltest_1@localhost # # DEFINER
|
|||||||
drop function sub2;
|
drop function sub2;
|
||||||
show create procedure sel2;
|
show create procedure sel2;
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
sel2 CREATE PROCEDURE `test`.`sel2`()
|
sel2 CREATE PROCEDURE `sel2`()
|
||||||
begin
|
begin
|
||||||
select * from t1;
|
select * from t1;
|
||||||
select * from t2;
|
select * from t2;
|
||||||
|
@ -1703,6 +1703,22 @@ a_id b_list
|
|||||||
3 NULL
|
3 NULL
|
||||||
DROP TABLE t2;
|
DROP TABLE t2;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
create temporary table t1 (a int) engine=innodb;
|
||||||
|
insert into t1 values (4711);
|
||||||
|
truncate t1;
|
||||||
|
insert into t1 values (42);
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
42
|
||||||
|
drop table t1;
|
||||||
|
create table t1 (a int) engine=innodb;
|
||||||
|
insert into t1 values (4711);
|
||||||
|
truncate t1;
|
||||||
|
insert into t1 values (42);
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
42
|
||||||
|
drop table t1;
|
||||||
create table t1 (x bigint unsigned not null primary key) engine=innodb;
|
create table t1 (x bigint unsigned not null primary key) engine=innodb;
|
||||||
insert into t1(x) values (0xfffffffffffffff0),(0xfffffffffffffff1);
|
insert into t1(x) values (0xfffffffffffffff0),(0xfffffffffffffff1);
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -1749,7 +1765,7 @@ Variable_name Value
|
|||||||
Innodb_rows_deleted 2070
|
Innodb_rows_deleted 2070
|
||||||
show status like "Innodb_rows_inserted";
|
show status like "Innodb_rows_inserted";
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Innodb_rows_inserted 31718
|
Innodb_rows_inserted 31722
|
||||||
show status like "Innodb_rows_updated";
|
show status like "Innodb_rows_updated";
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
Innodb_rows_updated 29530
|
Innodb_rows_updated 29530
|
||||||
@ -2488,3 +2504,26 @@ delete t1 from t1,t2 where f1=f3 and f4='cc';
|
|||||||
select * from t1;
|
select * from t1;
|
||||||
f1 f2
|
f1 f2
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
id INTEGER NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)
|
||||||
|
) ENGINE=InnoDB;
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
id INTEGER NOT NULL,
|
||||||
|
FOREIGN KEY (id) REFERENCES t1 (id)
|
||||||
|
) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
id
|
||||||
|
1
|
||||||
|
TRUNCATE t1;
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
id
|
||||||
|
1
|
||||||
|
DELETE FROM t1;
|
||||||
|
TRUNCATE t1;
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
id
|
||||||
|
1
|
||||||
|
DROP TABLE t2, t1;
|
||||||
|
@ -329,6 +329,23 @@ ERROR 42S21: Duplicate column name 'c1'
|
|||||||
alter table t1 add key (c1,c1,c2);
|
alter table t1 add key (c1,c1,c2);
|
||||||
ERROR 42S21: Duplicate column name 'c1'
|
ERROR 42S21: Duplicate column name 'c1'
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
create table t1 (
|
||||||
|
c1 int,
|
||||||
|
c2 varchar(20) not null,
|
||||||
|
primary key (c1),
|
||||||
|
key (c2(10))
|
||||||
|
) engine=myisam;
|
||||||
|
insert into t1 values (1,'');
|
||||||
|
insert into t1 values (2,' \t\tTest String');
|
||||||
|
insert into t1 values (3,' \n\tTest String');
|
||||||
|
update t1 set c2 = 'New Test String' where c1 = 1;
|
||||||
|
select * from t1;
|
||||||
|
c1 c2
|
||||||
|
1 New Test String
|
||||||
|
2 Test String
|
||||||
|
3
|
||||||
|
Test String
|
||||||
|
drop table t1;
|
||||||
create table t1 (a varchar(10), b varchar(10), key(a(10),b(10)));
|
create table t1 (a varchar(10), b varchar(10), key(a(10),b(10)));
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
|
@ -594,6 +594,20 @@ check table t1;
|
|||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
create table t1 (c1 int);
|
||||||
|
insert into t1 values (1),(2),(3),(4);
|
||||||
|
checksum table t1;
|
||||||
|
Table Checksum
|
||||||
|
test.t1 149057747
|
||||||
|
delete from t1 where c1 = 1;
|
||||||
|
create table t2 as select * from t1;
|
||||||
|
checksum table t1;
|
||||||
|
Table Checksum
|
||||||
|
test.t1 984116287
|
||||||
|
checksum table t2;
|
||||||
|
Table Checksum
|
||||||
|
test.t2 984116287
|
||||||
|
drop table t1, t2;
|
||||||
set storage_engine=MyISAM;
|
set storage_engine=MyISAM;
|
||||||
drop table if exists t1,t2,t3;
|
drop table if exists t1,t2,t3;
|
||||||
--- Testing varchar ---
|
--- Testing varchar ---
|
||||||
@ -1274,3 +1288,9 @@ show keys from t1;
|
|||||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||||
t1 1 a 1 a A 8 NULL NULL YES BTREE
|
t1 1 a 1 a A 8 NULL NULL YES BTREE
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
create table t1 (c1 int) engine=myisam pack_keys=0;
|
||||||
|
create table t2 (c1 int) engine=myisam pack_keys=1;
|
||||||
|
create table t3 (c1 int) engine=myisam pack_keys=default;
|
||||||
|
create table t4 (c1 int) engine=myisam pack_keys=2;
|
||||||
|
ERROR 42000: 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 '2' at line 1
|
||||||
|
drop table t1, t2, t3;
|
||||||
|
@ -31,6 +31,10 @@ a
|
|||||||
Test delimiter delimiter
|
Test delimiter delimiter
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
|
Tables_in_test
|
||||||
|
t1
|
||||||
|
t2
|
||||||
|
t3
|
||||||
|
|
||||||
Test delimiter : from command line
|
Test delimiter : from command line
|
||||||
a
|
a
|
||||||
|
@ -236,10 +236,10 @@ t1 CREATE TABLE `t1` (
|
|||||||
`c06` varchar(6) character set latin2 default NULL,
|
`c06` varchar(6) character set latin2 default NULL,
|
||||||
`c07` varchar(6) character set latin2 default NULL,
|
`c07` varchar(6) character set latin2 default NULL,
|
||||||
`c08` varchar(6) character set latin2 default NULL,
|
`c08` varchar(6) character set latin2 default NULL,
|
||||||
`c09` varchar(6) character set latin2 NOT NULL default '',
|
`c09` varchar(6) character set latin2 default NULL,
|
||||||
`c10` varchar(6) character set latin2 NOT NULL default '',
|
`c10` varchar(6) character set latin2 default NULL,
|
||||||
`c11` varchar(6) character set latin2 NOT NULL default '',
|
`c11` varchar(6) character set latin2 default NULL,
|
||||||
`c12` varchar(6) character set latin2 NOT NULL default '',
|
`c12` varchar(6) character set latin2 default NULL,
|
||||||
`c13` varchar(6) character set latin2 default NULL,
|
`c13` varchar(6) character set latin2 default NULL,
|
||||||
`c14` char(0) character set latin2 default NULL,
|
`c14` char(0) character set latin2 default NULL,
|
||||||
`c15` char(0) character set latin2 default NULL,
|
`c15` char(0) character set latin2 default NULL,
|
||||||
|
@ -4,29 +4,29 @@ reset master;
|
|||||||
reset slave;
|
reset slave;
|
||||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
start slave;
|
start slave;
|
||||||
drop database if exists mysqltest;
|
drop database if exists mysqltest1;
|
||||||
create database mysqltest;
|
create database mysqltest1;
|
||||||
create table mysqltest.t1 (n int);
|
create table mysqltest1.t1 (n int);
|
||||||
insert into mysqltest.t1 values (1);
|
insert into mysqltest1.t1 values (1);
|
||||||
select * from mysqltest.t1 into outfile 'mysqltest/f1.txt';
|
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
|
||||||
create table mysqltest.t2 (n int);
|
create table mysqltest1.t2 (n int);
|
||||||
create table mysqltest.t3 (n int);
|
create table mysqltest1.t3 (n int);
|
||||||
drop database mysqltest;
|
drop database mysqltest1;
|
||||||
ERROR HY000: Error dropping database (can't rmdir './mysqltest/', errno: 17)
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
Tables_in_mysqltest
|
Tables_in_mysqltest1
|
||||||
drop database mysqltest;
|
drop database mysqltest1;
|
||||||
ERROR HY000: Error dropping database (can't rmdir './mysqltest/', errno: 17)
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
Tables_in_mysqltest
|
Tables_in_mysqltest1
|
||||||
use test;
|
use test;
|
||||||
create table t1 (n int);
|
create table t1 (n int);
|
||||||
insert into t1 values (1234);
|
insert into t1 values (1234);
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
Tables_in_mysqltest
|
Tables_in_mysqltest1
|
||||||
use test;
|
use test;
|
||||||
select * from t1;
|
select * from t1;
|
||||||
n
|
n
|
||||||
|
@ -60,7 +60,8 @@ set b = 8;
|
|||||||
insert into t1 values (b);
|
insert into t1 values (b);
|
||||||
insert into t1 values (unix_timestamp());
|
insert into t1 values (unix_timestamp());
|
||||||
end
|
end
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo()
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8))
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values (unix_timestamp())
|
||||||
select * from t1;
|
select * from t1;
|
||||||
a
|
a
|
||||||
8
|
8
|
||||||
@ -76,8 +77,10 @@ reads sql data
|
|||||||
select * from mysqltest1.t1;
|
select * from mysqltest1.t1;
|
||||||
call foo2();
|
call foo2();
|
||||||
a
|
a
|
||||||
show binlog events from 605;
|
show binlog events from 518;
|
||||||
Log_name Pos Event_type Server_id End_log_pos Info
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8))
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values (unix_timestamp())
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; delete from t1
|
master-bin.000001 # Query 1 # use `mysqltest1`; delete from t1
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo2()
|
master-bin.000001 # Query 1 # use `mysqltest1`; create procedure foo2()
|
||||||
not deterministic
|
not deterministic
|
||||||
@ -124,7 +127,7 @@ alter procedure foo4 sql security invoker;
|
|||||||
call foo4();
|
call foo4();
|
||||||
show warnings;
|
show warnings;
|
||||||
Level Code Message
|
Level Code Message
|
||||||
show binlog events from 841;
|
show binlog events from 990;
|
||||||
Log_name Pos Event_type Server_id End_log_pos Info
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; drop table t1
|
master-bin.000001 # Query 1 # use `mysqltest1`; drop table t1
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; create table t1 (a int)
|
master-bin.000001 # Query 1 # use `mysqltest1`; create table t1 (a int)
|
||||||
@ -141,9 +144,12 @@ begin
|
|||||||
insert into t2 values(3);
|
insert into t2 values(3);
|
||||||
insert into t1 values (5);
|
insert into t1 values (5);
|
||||||
end
|
end
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo3()
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t2 values(3)
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values (15)
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t2 values(3)
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; alter procedure foo4 sql security invoker
|
master-bin.000001 # Query 1 # use `mysqltest1`; alter procedure foo4 sql security invoker
|
||||||
master-bin.000001 # Query 1 # use `mysqltest1`; call foo4()
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t2 values(3)
|
||||||
|
master-bin.000001 # Query 1 # use `mysqltest1`; insert into t1 values (5)
|
||||||
select * from t1;
|
select * from t1;
|
||||||
a
|
a
|
||||||
15
|
15
|
||||||
@ -160,6 +166,8 @@ a
|
|||||||
select * from t2;
|
select * from t2;
|
||||||
a
|
a
|
||||||
3
|
3
|
||||||
|
3
|
||||||
|
3
|
||||||
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
select * from mysql.proc where name="foo4" and db='mysqltest1';
|
||||||
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
|
||||||
mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES INVOKER begin
|
mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES INVOKER begin
|
||||||
@ -196,6 +204,7 @@ a
|
|||||||
select * from t1;
|
select * from t1;
|
||||||
a
|
a
|
||||||
21
|
21
|
||||||
|
20
|
||||||
select * from t2;
|
select * from t2;
|
||||||
a
|
a
|
||||||
23
|
23
|
||||||
|
158
mysql-test/r/rpl_sp_effects.result
Normal file
158
mysql-test/r/rpl_sp_effects.result
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
stop slave;
|
||||||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
|
reset master;
|
||||||
|
reset slave;
|
||||||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
|
start slave;
|
||||||
|
drop procedure if exists p1;
|
||||||
|
drop procedure if exists p2;
|
||||||
|
drop function if exists f1;
|
||||||
|
drop table if exists t1,t2;
|
||||||
|
drop view if exists v1;
|
||||||
|
create table t1 (a int);
|
||||||
|
create procedure p1()
|
||||||
|
begin
|
||||||
|
declare spv int default 0;
|
||||||
|
while spv < 5 do
|
||||||
|
insert into t1 values(spv+1);
|
||||||
|
set spv=spv+1;
|
||||||
|
end while;
|
||||||
|
end//
|
||||||
|
call p1();
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
4
|
||||||
|
5
|
||||||
|
delete from t1;
|
||||||
|
create procedure p2()
|
||||||
|
begin
|
||||||
|
declare a int default 4;
|
||||||
|
create table t2 as select a;
|
||||||
|
end//
|
||||||
|
call p2();
|
||||||
|
select * from t2;
|
||||||
|
a
|
||||||
|
4
|
||||||
|
select * from t2;
|
||||||
|
a
|
||||||
|
4
|
||||||
|
drop procedure p1;
|
||||||
|
drop procedure p2;
|
||||||
|
drop table t2;
|
||||||
|
create function f1(x int) returns int
|
||||||
|
begin
|
||||||
|
insert into t1 values(x);
|
||||||
|
return x+1;
|
||||||
|
end//
|
||||||
|
create procedure p1(a int, b int)
|
||||||
|
begin
|
||||||
|
declare v int default f1(5);
|
||||||
|
if (f1(6)) then
|
||||||
|
select 'yes';
|
||||||
|
end if;
|
||||||
|
set v = f1(7);
|
||||||
|
while f1(8) < 1 do
|
||||||
|
select 'this cant be';
|
||||||
|
end while;
|
||||||
|
end//
|
||||||
|
call p1(f1(1), f1(2));
|
||||||
|
yes
|
||||||
|
yes
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
1
|
||||||
|
2
|
||||||
|
5
|
||||||
|
6
|
||||||
|
7
|
||||||
|
8
|
||||||
|
create table t2(a int);
|
||||||
|
insert into t2 values (10),(11);
|
||||||
|
select a,f1(a) from t2;
|
||||||
|
a f1(a)
|
||||||
|
10 11
|
||||||
|
11 12
|
||||||
|
insert into t2 select f1(3);
|
||||||
|
select 'master:',a from t1;
|
||||||
|
master: a
|
||||||
|
master: 1
|
||||||
|
master: 2
|
||||||
|
master: 5
|
||||||
|
master: 6
|
||||||
|
master: 7
|
||||||
|
master: 8
|
||||||
|
master: 10
|
||||||
|
master: 11
|
||||||
|
master: 3
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
slave: a
|
||||||
|
slave: 1
|
||||||
|
slave: 2
|
||||||
|
slave: 5
|
||||||
|
slave: 6
|
||||||
|
slave: 7
|
||||||
|
slave: 8
|
||||||
|
slave: 10
|
||||||
|
slave: 11
|
||||||
|
slave: 3
|
||||||
|
drop procedure p1;
|
||||||
|
delete from t1;
|
||||||
|
delete from t2;
|
||||||
|
delete from t1;
|
||||||
|
insert into t2 values(1),(2);
|
||||||
|
create view v1 as select f1(a) from t2;
|
||||||
|
select * from v1;
|
||||||
|
f1(a)
|
||||||
|
2
|
||||||
|
3
|
||||||
|
select 'master:',a from t1;
|
||||||
|
master: a
|
||||||
|
master: 1
|
||||||
|
master: 2
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
slave: a
|
||||||
|
slave: 1
|
||||||
|
slave: 2
|
||||||
|
drop view v1;
|
||||||
|
delete from t1;
|
||||||
|
prepare s1 from 'select f1(?)';
|
||||||
|
set @xx=123;
|
||||||
|
execute s1 using @xx;
|
||||||
|
f1(?)
|
||||||
|
124
|
||||||
|
select 'master:',a from t1;
|
||||||
|
master: a
|
||||||
|
master: 123
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
slave: a
|
||||||
|
slave: 123
|
||||||
|
delete from t1;
|
||||||
|
create procedure p1(spv int)
|
||||||
|
begin
|
||||||
|
declare c cursor for select f1(spv) from t2;
|
||||||
|
while (spv > 2) do
|
||||||
|
open c;
|
||||||
|
fetch c into spv;
|
||||||
|
close c;
|
||||||
|
set spv= spv - 10;
|
||||||
|
end while;
|
||||||
|
end//
|
||||||
|
call p1(15);
|
||||||
|
select 'master:',a from t1;
|
||||||
|
master: a
|
||||||
|
master: 15
|
||||||
|
master: 15
|
||||||
|
master: 6
|
||||||
|
master: 6
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
slave: a
|
||||||
|
slave: 15
|
||||||
|
slave: 15
|
||||||
|
slave: 6
|
||||||
|
slave: 6
|
||||||
|
drop procedure p1;
|
||||||
|
drop function f1;
|
||||||
|
drop table t1,t2;
|
@ -2875,6 +2875,16 @@ b a t1_val t2_val
|
|||||||
1 1 1 1
|
1 1 1 1
|
||||||
1 2 2 1
|
1 2 2 1
|
||||||
drop table t1, t2, t3;
|
drop table t1, t2, t3;
|
||||||
|
DO IFNULL(NULL, NULL);
|
||||||
|
SELECT CAST(IFNULL(NULL, NULL) AS DECIMAL);
|
||||||
|
CAST(IFNULL(NULL, NULL) AS DECIMAL)
|
||||||
|
NULL
|
||||||
|
SELECT ABS(IFNULL(NULL, NULL));
|
||||||
|
ABS(IFNULL(NULL, NULL))
|
||||||
|
NULL
|
||||||
|
SELECT IFNULL(NULL, NULL);
|
||||||
|
IFNULL(NULL, NULL)
|
||||||
|
NULL
|
||||||
create table t1 (a char(1));
|
create table t1 (a char(1));
|
||||||
create table t2 (a char(1));
|
create table t2 (a char(1));
|
||||||
insert into t1 values ('a'),('b'),('c');
|
insert into t1 values ('a'),('b'),('c');
|
||||||
|
@ -748,6 +748,14 @@ end|
|
|||||||
call bug11394(2, 1)|
|
call bug11394(2, 1)|
|
||||||
ERROR HY000: Recursive stored routines are not allowed.
|
ERROR HY000: Recursive stored routines are not allowed.
|
||||||
drop procedure bug11394|
|
drop procedure bug11394|
|
||||||
|
CREATE PROCEDURE BUG_12490() HELP CONTENTS;
|
||||||
|
ERROR 0A000: HELP is not allowed in stored procedures
|
||||||
|
CREATE FUNCTION BUG_12490() RETURNS INT HELP CONTENTS;
|
||||||
|
ERROR 0A000: HELP is not allowed in stored procedures
|
||||||
|
CREATE TABLE t_bug_12490(a int);
|
||||||
|
CREATE TRIGGER BUG_12490 BEFORE UPDATE ON t_bug_12490 FOR EACH ROW HELP CONTENTS;
|
||||||
|
ERROR 0A000: HELP is not allowed in stored procedures
|
||||||
|
DROP TABLE t_bug_12490;
|
||||||
drop function if exists bug11834_1;
|
drop function if exists bug11834_1;
|
||||||
drop function if exists bug11834_2;
|
drop function if exists bug11834_2;
|
||||||
create function bug11834_1() returns int return 10;
|
create function bug11834_1() returns int return 10;
|
||||||
|
@ -788,7 +788,7 @@ comment 'Characteristics procedure test'
|
|||||||
insert into t1 values ("chistics", 1)|
|
insert into t1 values ("chistics", 1)|
|
||||||
show create procedure chistics|
|
show create procedure chistics|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
chistics CREATE PROCEDURE `test`.`chistics`()
|
chistics CREATE PROCEDURE `chistics`()
|
||||||
MODIFIES SQL DATA
|
MODIFIES SQL DATA
|
||||||
COMMENT 'Characteristics procedure test'
|
COMMENT 'Characteristics procedure test'
|
||||||
insert into t1 values ("chistics", 1)
|
insert into t1 values ("chistics", 1)
|
||||||
@ -800,7 +800,7 @@ delete from t1|
|
|||||||
alter procedure chistics sql security invoker|
|
alter procedure chistics sql security invoker|
|
||||||
show create procedure chistics|
|
show create procedure chistics|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
chistics CREATE PROCEDURE `test`.`chistics`()
|
chistics CREATE PROCEDURE `chistics`()
|
||||||
MODIFIES SQL DATA
|
MODIFIES SQL DATA
|
||||||
SQL SECURITY INVOKER
|
SQL SECURITY INVOKER
|
||||||
COMMENT 'Characteristics procedure test'
|
COMMENT 'Characteristics procedure test'
|
||||||
@ -815,7 +815,7 @@ comment 'Characteristics procedure test'
|
|||||||
return 42|
|
return 42|
|
||||||
show create function chistics|
|
show create function chistics|
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
chistics CREATE FUNCTION `test`.`chistics`() RETURNS int(11)
|
chistics CREATE FUNCTION `chistics`() RETURNS int(11)
|
||||||
DETERMINISTIC
|
DETERMINISTIC
|
||||||
SQL SECURITY INVOKER
|
SQL SECURITY INVOKER
|
||||||
COMMENT 'Characteristics procedure test'
|
COMMENT 'Characteristics procedure test'
|
||||||
@ -828,7 +828,7 @@ no sql
|
|||||||
comment 'Characteristics function test'|
|
comment 'Characteristics function test'|
|
||||||
show create function chistics|
|
show create function chistics|
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
chistics CREATE FUNCTION `test`.`chistics`() RETURNS int(11)
|
chistics CREATE FUNCTION `chistics`() RETURNS int(11)
|
||||||
NO SQL
|
NO SQL
|
||||||
DETERMINISTIC
|
DETERMINISTIC
|
||||||
SQL SECURITY INVOKER
|
SQL SECURITY INVOKER
|
||||||
@ -1210,7 +1210,7 @@ end while;
|
|||||||
end|
|
end|
|
||||||
show create procedure opp|
|
show create procedure opp|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
opp CREATE PROCEDURE `test`.`opp`(n bigint unsigned, out pp bool)
|
opp CREATE PROCEDURE `opp`(n bigint unsigned, out pp bool)
|
||||||
begin
|
begin
|
||||||
declare r double;
|
declare r double;
|
||||||
declare b, s bigint unsigned default 0;
|
declare b, s bigint unsigned default 0;
|
||||||
@ -1263,7 +1263,7 @@ alter procedure bar comment "3333333333"|
|
|||||||
alter procedure bar|
|
alter procedure bar|
|
||||||
show create procedure bar|
|
show create procedure bar|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
bar CREATE PROCEDURE `test`.`bar`(x char(16), y int)
|
bar CREATE PROCEDURE `bar`(x char(16), y int)
|
||||||
COMMENT '3333333333'
|
COMMENT '3333333333'
|
||||||
insert into test.t1 values (x, y)
|
insert into test.t1 values (x, y)
|
||||||
show procedure status like 'bar'|
|
show procedure status like 'bar'|
|
||||||
@ -1821,20 +1821,20 @@ return x || y$
|
|||||||
set @@sql_mode = ''|
|
set @@sql_mode = ''|
|
||||||
show create procedure bug2564_1|
|
show create procedure bug2564_1|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
bug2564_1 CREATE PROCEDURE `test`.`bug2564_1`()
|
bug2564_1 CREATE PROCEDURE `bug2564_1`()
|
||||||
COMMENT 'Joe''s procedure'
|
COMMENT 'Joe''s procedure'
|
||||||
insert into `t1` values ("foo", 1)
|
insert into `t1` values ("foo", 1)
|
||||||
show create procedure bug2564_2|
|
show create procedure bug2564_2|
|
||||||
Procedure sql_mode Create Procedure
|
Procedure sql_mode Create Procedure
|
||||||
bug2564_2 ANSI_QUOTES CREATE PROCEDURE "test"."bug2564_2"()
|
bug2564_2 ANSI_QUOTES CREATE PROCEDURE "bug2564_2"()
|
||||||
insert into "t1" values ('foo', 1)
|
insert into "t1" values ('foo', 1)
|
||||||
show create function bug2564_3|
|
show create function bug2564_3|
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
bug2564_3 CREATE FUNCTION `test`.`bug2564_3`(x int, y int) RETURNS int(11)
|
bug2564_3 CREATE FUNCTION `bug2564_3`(x int, y int) RETURNS int(11)
|
||||||
return x || y
|
return x || y
|
||||||
show create function bug2564_4|
|
show create function bug2564_4|
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
bug2564_4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI CREATE FUNCTION "test"."bug2564_4"(x int, y int) RETURNS int(11)
|
bug2564_4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI CREATE FUNCTION "bug2564_4"(x int, y int) RETURNS int(11)
|
||||||
return x || y
|
return x || y
|
||||||
drop procedure bug2564_1|
|
drop procedure bug2564_1|
|
||||||
drop procedure bug2564_2|
|
drop procedure bug2564_2|
|
||||||
@ -3167,4 +3167,30 @@ a
|
|||||||
truncate t4|
|
truncate t4|
|
||||||
drop table t3, t4|
|
drop table t3, t4|
|
||||||
drop procedure if exists bug12168|
|
drop procedure if exists bug12168|
|
||||||
|
drop table if exists t3|
|
||||||
|
drop procedure if exists bug11333|
|
||||||
|
create table t3 (c1 char(128))|
|
||||||
|
insert into t3 values
|
||||||
|
('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')|
|
||||||
|
create procedure bug11333(i int)
|
||||||
|
begin
|
||||||
|
declare tmp varchar(128);
|
||||||
|
set @x = 0;
|
||||||
|
repeat
|
||||||
|
select c1 into tmp from t3
|
||||||
|
where c1 = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
||||||
|
set @x = @x + 1;
|
||||||
|
until @x >= i
|
||||||
|
end repeat;
|
||||||
|
end|
|
||||||
|
call bug11333(10)|
|
||||||
|
drop procedure bug11333|
|
||||||
|
drop table t3|
|
||||||
|
drop function if exists bug9048|
|
||||||
|
create function bug9048(f1 char binary) returns char binary
|
||||||
|
begin
|
||||||
|
set f1= concat( 'hello', f1 );
|
||||||
|
return f1;
|
||||||
|
end|
|
||||||
|
drop function bug9048|
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
@ -424,23 +424,23 @@ SET @@SQL_MODE='';
|
|||||||
create function `foo` () returns int return 5;
|
create function `foo` () returns int return 5;
|
||||||
show create function `foo`;
|
show create function `foo`;
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
foo CREATE FUNCTION `test`.`foo`() RETURNS int(11)
|
foo CREATE FUNCTION `foo`() RETURNS int(11)
|
||||||
return 5
|
return 5
|
||||||
SET @@SQL_MODE='ANSI_QUOTES';
|
SET @@SQL_MODE='ANSI_QUOTES';
|
||||||
show create function `foo`;
|
show create function `foo`;
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
foo CREATE FUNCTION `test`.`foo`() RETURNS int(11)
|
foo CREATE FUNCTION `foo`() RETURNS int(11)
|
||||||
return 5
|
return 5
|
||||||
drop function `foo`;
|
drop function `foo`;
|
||||||
create function `foo` () returns int return 5;
|
create function `foo` () returns int return 5;
|
||||||
show create function `foo`;
|
show create function `foo`;
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
foo ANSI_QUOTES CREATE FUNCTION "test"."foo"() RETURNS int(11)
|
foo ANSI_QUOTES CREATE FUNCTION "foo"() RETURNS int(11)
|
||||||
return 5
|
return 5
|
||||||
SET @@SQL_MODE='';
|
SET @@SQL_MODE='';
|
||||||
show create function `foo`;
|
show create function `foo`;
|
||||||
Function sql_mode Create Function
|
Function sql_mode Create Function
|
||||||
foo ANSI_QUOTES CREATE FUNCTION "test"."foo"() RETURNS int(11)
|
foo ANSI_QUOTES CREATE FUNCTION "foo"() RETURNS int(11)
|
||||||
return 5
|
return 5
|
||||||
drop function `foo`;
|
drop function `foo`;
|
||||||
SET @@SQL_MODE='';
|
SET @@SQL_MODE='';
|
||||||
|
@ -537,3 +537,6 @@ set @@max_heap_table_size= 4294967296;
|
|||||||
select @@max_heap_table_size > 0;
|
select @@max_heap_table_size > 0;
|
||||||
@@max_heap_table_size > 0
|
@@max_heap_table_size > 0
|
||||||
1
|
1
|
||||||
|
select @@have_innodb;
|
||||||
|
@@have_innodb
|
||||||
|
#
|
||||||
|
@ -2097,6 +2097,14 @@ select * from v1;
|
|||||||
f1
|
f1
|
||||||
1
|
1
|
||||||
drop view v1;
|
drop view v1;
|
||||||
|
create table t1(a int);
|
||||||
|
create procedure p1() create view v1 as select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
call p1();
|
||||||
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
||||||
|
call p1();
|
||||||
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
||||||
|
drop procedure p1;
|
||||||
create table t1 (f1 int);
|
create table t1 (f1 int);
|
||||||
create table t2 (f1 int);
|
create table t2 (f1 int);
|
||||||
insert into t1 values (1);
|
insert into t1 values (1);
|
||||||
@ -2127,3 +2135,9 @@ DESCRIBE v1;
|
|||||||
ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s)
|
ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s)
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
|
create table t1 (f1 char);
|
||||||
|
create view v1 as select strcmp(f1,'a') from t1;
|
||||||
|
select * from v1;
|
||||||
|
strcmp(f1,'a')
|
||||||
|
drop view v1;
|
||||||
|
drop table t1;
|
||||||
|
@ -337,6 +337,14 @@ alter table t1 drop key no_such_key;
|
|||||||
alter table t1 drop key a;
|
alter table t1 drop key a;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# BUG 12207 alter table ... discard table space on MyISAM table causes ERROR 2013 (HY000)
|
||||||
|
#
|
||||||
|
CREATE TABLE T12207(a int) ENGINE=MYISAM;
|
||||||
|
--error 1031
|
||||||
|
ALTER TABLE T12207 DISCARD TABLESPACE;
|
||||||
|
DROP TABLE T12207;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug #6479 ALTER TABLE ... changing charset fails for TEXT columns
|
# Bug #6479 ALTER TABLE ... changing charset fails for TEXT columns
|
||||||
#
|
#
|
||||||
@ -361,6 +369,37 @@ create table t1 ( a timestamp );
|
|||||||
alter table t1 add unique ( a(1) );
|
alter table t1 add unique ( a(1) );
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#11493 - Alter table rename to default database does not work without
|
||||||
|
# db name qualifying
|
||||||
|
#
|
||||||
|
create database mysqltest1;
|
||||||
|
create table t1 (c1 int);
|
||||||
|
# Move table to other database.
|
||||||
|
alter table t1 rename mysqltest1.t1;
|
||||||
|
# Assure that it has moved.
|
||||||
|
--error 1051
|
||||||
|
drop table t1;
|
||||||
|
# Move table back.
|
||||||
|
alter table mysqltest1.t1 rename t1;
|
||||||
|
# Assure that it is back.
|
||||||
|
drop table t1;
|
||||||
|
# Now test for correct message if no database is selected.
|
||||||
|
# Create t1 in 'test'.
|
||||||
|
create table t1 (c1 int);
|
||||||
|
# Change to other db.
|
||||||
|
use mysqltest1;
|
||||||
|
# Drop the current db. This de-selects any db.
|
||||||
|
drop database mysqltest1;
|
||||||
|
# Now test for correct message.
|
||||||
|
--error 1046
|
||||||
|
alter table test.t1 rename t1;
|
||||||
|
# Check that explicit qualifying works even with no selected db.
|
||||||
|
alter table test.t1 rename test.t1;
|
||||||
|
# Go back to standard 'test' db.
|
||||||
|
use test;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1302,6 +1302,7 @@ rename table t3 to t4;
|
|||||||
select * from t4 where fld3='bonfire';
|
select * from t4 where fld3='bonfire';
|
||||||
select count(*) from t4;
|
select count(*) from t4;
|
||||||
|
|
||||||
|
# End of 4.1 tests
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test for insert after select
|
# Test for insert after select
|
||||||
@ -1326,12 +1327,25 @@ SELECT * FROM t2;
|
|||||||
INSERT INTO t2 VALUES (1,000001,00,'Omaha','teethe','neat','') , (2,011401,37,'breaking','dreaded','Steinberg','W') , (3,011402,37,'Romans','scholastics','jarring','') , (4,011403,37,'intercepted','audiology','tinily','');
|
INSERT INTO t2 VALUES (1,000001,00,'Omaha','teethe','neat','') , (2,011401,37,'breaking','dreaded','Steinberg','W') , (3,011402,37,'Romans','scholastics','jarring','') , (4,011403,37,'intercepted','audiology','tinily','');
|
||||||
SELECT * FROM t2;
|
SELECT * FROM t2;
|
||||||
|
|
||||||
|
#
|
||||||
|
# For bug #12836
|
||||||
|
# Delete was allowing all rows to be removed
|
||||||
|
DELETE FROM t2;
|
||||||
|
SELECT * FROM t2;
|
||||||
|
INSERT INTO t2 VALUES (2,011401,37,'breaking','dreaded','Steinberg','W');
|
||||||
|
INSERT INTO t2 VALUES (3,011402,37,'Romans','scholastics','jarring','');
|
||||||
|
INSERT INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
|
||||||
|
SELECT * FROM t2;
|
||||||
|
TRUNCATE TABLE t2;
|
||||||
|
SELECT * FROM t2;
|
||||||
|
|
||||||
|
|
||||||
# Just test syntax, we will never know if the out put is right or wrong
|
# Just test syntax, we will never know if the out put is right or wrong
|
||||||
# Must be the last test
|
# Must be the last test
|
||||||
INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
|
INSERT DELAYED INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily','');
|
||||||
#
|
#
|
||||||
# Cleanup, test is over
|
# Cleanup, test is over
|
||||||
#
|
#
|
||||||
drop table t1, t2, t4;
|
|
||||||
|
|
||||||
# End of 4.1 tests
|
|
||||||
|
drop table t1, t2, t4;
|
||||||
|
@ -503,6 +503,14 @@ create table t1(t1.name int);
|
|||||||
create table t2(test.t2.name int);
|
create table t2(test.t2.name int);
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #12537: UNION produces longtext instead of varchar
|
||||||
|
#
|
||||||
|
CREATE TABLE t1 (f1 VARCHAR(255) CHARACTER SET utf8);
|
||||||
|
CREATE TABLE t2 AS SELECT LEFT(f1,171) AS f2 FROM t1 UNION SELECT LEFT(f1,171) AS f2 FROM t1;
|
||||||
|
DESC t2;
|
||||||
|
DROP TABLE t1,t2;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug#11028: Crash on create table like
|
# Bug#11028: Crash on create table like
|
||||||
#
|
#
|
||||||
|
@ -10,5 +10,8 @@
|
|||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
sp-goto:GOTO is currently is disabled - will be fixed in the future
|
sp-goto : GOTO is currently is disabled - will be fixed in the future
|
||||||
|
rpl_relayrotate : Unstable test case, bug#12429
|
||||||
|
rpl_until : Unstable test case, bug#12429
|
||||||
|
rpl_deadlock : Unstable test case, bug#12429
|
||||||
|
kill : Unstable test case, bug#9712
|
||||||
|
@ -118,3 +118,12 @@ insert into t1 values (1,2), (2,3), (3,4), (4,5);
|
|||||||
select * from t1 where a not between 1 and 2;
|
select * from t1 where a not between 1 and 2;
|
||||||
select * from t1 where a not between 1 and 2 and b not between 3 and 4;
|
select * from t1 where a not between 1 and 2 and b not between 3 and 4;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Test for bug #12791: one of the arguments of LEAST/GREATEST is NULL
|
||||||
|
#
|
||||||
|
|
||||||
|
SELECT GREATEST(1,NULL) FROM DUAL;
|
||||||
|
SELECT LEAST('xxx','aaa',NULL,'yyy') FROM DUAL;
|
||||||
|
SELECT LEAST(1.1,1.2,NULL,1.0) FROM DUAL;
|
||||||
|
SELECT GREATEST(1.5E+2,1.3E+2,NULL) FROM DUAL;
|
||||||
|
@ -172,4 +172,19 @@ CREATE TABLE t2 (geom GEOMETRY NOT NULL, SPATIAL KEY gk(geom));
|
|||||||
INSERT INTO t2 SELECT GeomFromText(st) FROM t1;
|
INSERT INTO t2 SELECT GeomFromText(st) FROM t1;
|
||||||
drop table t1, t2;
|
drop table t1, t2;
|
||||||
|
|
||||||
|
CREATE TABLE t1 (`geometry` geometry NOT NULL default '',SPATIAL KEY `gndx` (`geometry`(32))) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
INSERT INTO t1 (geometry) VALUES
|
||||||
|
(PolygonFromText('POLYGON((-18.6086111000 -66.9327777000, -18.6055555000
|
||||||
|
-66.8158332999, -18.7186111000 -66.8102777000, -18.7211111000 -66.9269443999,
|
||||||
|
-18.6086111000 -66.9327777000))'));
|
||||||
|
|
||||||
|
INSERT INTO t1 (geometry) VALUES
|
||||||
|
(PolygonFromText('POLYGON((-65.7402776999 -96.6686111000, -65.7372222000
|
||||||
|
-96.5516666000, -65.8502777000 -96.5461111000, -65.8527777000 -96.6627777000,
|
||||||
|
-65.7402776999 -96.6686111000))'));
|
||||||
|
check table t1 extended;
|
||||||
|
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
@ -383,3 +383,15 @@ create trigger t1_bu before update on t1 for each row set new.s1 = null;
|
|||||||
--error 1048
|
--error 1048
|
||||||
insert into t1 values (null,null);
|
insert into t1 values (null,null);
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #10499 (function creation with GEOMETRY datatype)
|
||||||
|
#
|
||||||
|
--disable_warnings
|
||||||
|
drop procedure if exists fn3;
|
||||||
|
--enable_warnings
|
||||||
|
create function fn3 () returns point return GeomFromText("point(1 1)");
|
||||||
|
show create function fn3;
|
||||||
|
select astext(fn3());
|
||||||
|
drop function fn3;
|
||||||
|
|
||||||
|
@ -651,6 +651,26 @@ select a1 from t1 where a2 = 'b' group by a1;
|
|||||||
explain select distinct a1 from t1 where a2 = 'b';
|
explain select distinct a1 from t1 where a2 = 'b';
|
||||||
select distinct a1 from t1 where a2 = 'b';
|
select distinct a1 from t1 where a2 = 'b';
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #12672: primary key implcitly included in every innodb index
|
||||||
|
#
|
||||||
|
|
||||||
|
create table bug12672 (
|
||||||
|
pk_col int auto_increment primary key, a1 char(64), a2 char(64), b char(16), c char(16) not null, d char(16), dummy char(64) default ' '
|
||||||
|
) engine=innodb;
|
||||||
|
|
||||||
|
insert into bug12672 (a1, a2, b, c, d, dummy) select * from t1;
|
||||||
|
|
||||||
|
create index idx12672_0 on bug12672 (a1);
|
||||||
|
create index idx12672_1 on bug12672 (a1,a2,b,c);
|
||||||
|
create index idx12672_2 on bug12672 (a1,a2,b);
|
||||||
|
analyze table t1;
|
||||||
|
|
||||||
|
--replace_column 9 #
|
||||||
|
explain select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
|
||||||
|
select distinct a1 from bug12672 where pk_col not in (1,2,3,4);
|
||||||
|
|
||||||
|
drop table bug12672;
|
||||||
|
|
||||||
drop table t1;
|
drop table t1;
|
||||||
drop table t2;
|
drop table t2;
|
||||||
|
@ -131,3 +131,76 @@ insert into t1 values(1,'20040101'), (2,'20040102');
|
|||||||
select * from t1 where id1 = 1 and id2= '20040101';
|
select * from t1 where id1 = 1 and id2= '20040101';
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
# Test for BUG#12720
|
||||||
|
--disable_warnings
|
||||||
|
drop view if exists v1;
|
||||||
|
--enable_warnings
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
`oid` int(11) unsigned NOT NULL auto_increment,
|
||||||
|
`fk_bbk_niederlassung` int(11) unsigned NOT NULL,
|
||||||
|
`fk_wochentag` int(11) unsigned NOT NULL,
|
||||||
|
`uhrzeit_von` time NOT NULL COMMENT 'HH:MM',
|
||||||
|
`uhrzeit_bis` time NOT NULL COMMENT 'HH:MM',
|
||||||
|
`geloescht` tinyint(4) NOT NULL,
|
||||||
|
`version` int(5) NOT NULL,
|
||||||
|
PRIMARY KEY (`oid`),
|
||||||
|
KEY `fk_bbk_niederlassung` (`fk_bbk_niederlassung`),
|
||||||
|
KEY `fk_wochentag` (`fk_wochentag`),
|
||||||
|
KEY `ix_version` (`version`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
insert into t1 values
|
||||||
|
(1, 38, 1, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(2, 38, 2, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(3, 38, 3, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(4, 38, 4, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(5, 38, 5, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(6, 38, 5, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(7, 38, 3, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(8, 38, 1, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(9, 38, 2, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(10, 38, 4, '08:00:00', '13:00:00', 1, 2),
|
||||||
|
(11, 38, 1, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(12, 38, 2, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(13, 38, 3, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(14, 38, 4, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(15, 38, 5, '08:00:00', '13:00:00', 0, 3),
|
||||||
|
(16, 38, 4, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(17, 38, 5, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(18, 38, 1, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(19, 38, 2, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(20, 38, 3, '08:00:00', '13:00:00', 0, 4),
|
||||||
|
(21, 7, 1, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(22, 7, 2, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(23, 7, 3, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(24, 7, 4, '08:00:00', '13:00:00', 0, 1),
|
||||||
|
(25, 7, 5, '08:00:00', '13:00:00', 0, 1);
|
||||||
|
|
||||||
|
create view v1 as
|
||||||
|
select
|
||||||
|
zeit1.oid AS oid,
|
||||||
|
zeit1.fk_bbk_niederlassung AS fk_bbk_niederlassung,
|
||||||
|
zeit1.fk_wochentag AS fk_wochentag,
|
||||||
|
zeit1.uhrzeit_von AS uhrzeit_von,
|
||||||
|
zeit1.uhrzeit_bis AS uhrzeit_bis,
|
||||||
|
zeit1.geloescht AS geloescht,
|
||||||
|
zeit1.version AS version
|
||||||
|
from
|
||||||
|
t1 zeit1
|
||||||
|
where
|
||||||
|
(zeit1.version =
|
||||||
|
(select max(zeit2.version) AS `max(version)`
|
||||||
|
from t1 zeit2
|
||||||
|
where
|
||||||
|
((zeit1.fk_bbk_niederlassung = zeit2.fk_bbk_niederlassung) and
|
||||||
|
(zeit1.fk_wochentag = zeit2.fk_wochentag) and
|
||||||
|
(zeit1.uhrzeit_von = zeit2.uhrzeit_von) and
|
||||||
|
(zeit1.uhrzeit_bis = zeit2.uhrzeit_bis)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
and (zeit1.geloescht = 0);
|
||||||
|
|
||||||
|
select * from v1 where oid = 21;
|
||||||
|
drop view v1;
|
||||||
|
drop table t1;
|
||||||
|
@ -1231,6 +1231,24 @@ SELECT * FROM (SELECT t1.*,GROUP_CONCAT(t2.b_id SEPARATOR ',') as b_list FROM (t
|
|||||||
DROP TABLE t2;
|
DROP TABLE t2;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#11816 - Truncate table doesn't work with temporary innodb tables
|
||||||
|
# This is not an innodb bug, but we test it using innodb.
|
||||||
|
#
|
||||||
|
create temporary table t1 (a int) engine=innodb;
|
||||||
|
insert into t1 values (4711);
|
||||||
|
truncate t1;
|
||||||
|
insert into t1 values (42);
|
||||||
|
select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
# Show that it works with permanent tables too.
|
||||||
|
create table t1 (a int) engine=innodb;
|
||||||
|
insert into t1 values (4711);
|
||||||
|
truncate t1;
|
||||||
|
insert into t1 values (42);
|
||||||
|
select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1405,3 +1423,31 @@ insert into t1 values ('aa','bb'),('aa','cc');
|
|||||||
delete t1 from t1,t2 where f1=f3 and f4='cc';
|
delete t1 from t1,t2 where f1=f3 and f4='cc';
|
||||||
select * from t1;
|
select * from t1;
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Test that the slow TRUNCATE implementation resets autoincrement columns
|
||||||
|
# (bug #11946)
|
||||||
|
#
|
||||||
|
|
||||||
|
CREATE TABLE t1 (
|
||||||
|
id INTEGER NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)
|
||||||
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
|
CREATE TABLE t2 (
|
||||||
|
id INTEGER NOT NULL,
|
||||||
|
FOREIGN KEY (id) REFERENCES t1 (id)
|
||||||
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
TRUNCATE t1;
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
|
||||||
|
# continued from above; test that doing a slow TRUNCATE on a table with 0
|
||||||
|
# rows resets autoincrement columns
|
||||||
|
DELETE FROM t1;
|
||||||
|
TRUNCATE t1;
|
||||||
|
INSERT INTO t1 (id) VALUES (NULL);
|
||||||
|
SELECT * FROM t1;
|
||||||
|
DROP TABLE t2, t1;
|
||||||
|
@ -325,6 +325,23 @@ alter table t1 add key (c1,c2,c1);
|
|||||||
alter table t1 add key (c1,c1,c2);
|
alter table t1 add key (c1,c1,c2);
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#12565 - ERROR 1034 when running simple UPDATE or DELETE
|
||||||
|
# on large MyISAM table
|
||||||
|
#
|
||||||
|
create table t1 (
|
||||||
|
c1 int,
|
||||||
|
c2 varchar(20) not null,
|
||||||
|
primary key (c1),
|
||||||
|
key (c2(10))
|
||||||
|
) engine=myisam;
|
||||||
|
insert into t1 values (1,'');
|
||||||
|
insert into t1 values (2,' \t\tTest String');
|
||||||
|
insert into t1 values (3,' \n\tTest String');
|
||||||
|
update t1 set c2 = 'New Test String' where c1 = 1;
|
||||||
|
select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
#
|
#
|
||||||
# If we use a partial field for a key that is actually the length of the
|
# If we use a partial field for a key that is actually the length of the
|
||||||
# field, and we extend the field, we end up with a key that includes the
|
# field, and we extend the field, we end up with a key that includes the
|
||||||
|
@ -563,6 +563,21 @@ update t1 set c2='A B' where c1=2;
|
|||||||
check table t1;
|
check table t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#12296 - CHECKSUM TABLE reports 0 for the table
|
||||||
|
# This happened if the first record was marked as deleted.
|
||||||
|
#
|
||||||
|
create table t1 (c1 int);
|
||||||
|
insert into t1 values (1),(2),(3),(4);
|
||||||
|
checksum table t1;
|
||||||
|
delete from t1 where c1 = 1;
|
||||||
|
create table t2 as select * from t1;
|
||||||
|
# The following returns 0 with the bug in place.
|
||||||
|
checksum table t1;
|
||||||
|
# The above should give the same number as the following.
|
||||||
|
checksum table t2;
|
||||||
|
drop table t1, t2;
|
||||||
#
|
#
|
||||||
# Test varchar
|
# Test varchar
|
||||||
#
|
#
|
||||||
@ -675,4 +690,14 @@ show keys from t1;
|
|||||||
|
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug#10056 - PACK_KEYS option take values greater than 1 while creating table
|
||||||
|
#
|
||||||
|
create table t1 (c1 int) engine=myisam pack_keys=0;
|
||||||
|
create table t2 (c1 int) engine=myisam pack_keys=1;
|
||||||
|
create table t3 (c1 int) engine=myisam pack_keys=default;
|
||||||
|
--error 1064
|
||||||
|
create table t4 (c1 int) engine=myisam pack_keys=2;
|
||||||
|
drop table t1, t2, t3;
|
||||||
|
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
@ -45,4 +45,7 @@ delimiter delimiter
|
|||||||
select * from t1 delimiter
|
select * from t1 delimiter
|
||||||
delimiter ; # Reset delimiter
|
delimiter ; # Reset delimiter
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #11523: \d works differently than delimiter
|
||||||
|
#
|
||||||
|
source t/mysql_delimiter_source.sql
|
||||||
|
8
mysql-test/t/mysql_delimiter_source.sql
Normal file
8
mysql-test/t/mysql_delimiter_source.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
delimiter //
|
||||||
|
create table t2 (a int) //
|
||||||
|
delimiter ;
|
||||||
|
\d //
|
||||||
|
create table t3 (a int) //
|
||||||
|
\d ;
|
||||||
|
show tables;
|
||||||
|
drop table t2, t3;
|
@ -5,32 +5,33 @@
|
|||||||
connection master;
|
connection master;
|
||||||
|
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop database if exists mysqltest;
|
drop database if exists mysqltest1;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
create database mysqltest;
|
create database mysqltest1;
|
||||||
create table mysqltest.t1 (n int);
|
create table mysqltest1.t1 (n int);
|
||||||
insert into mysqltest.t1 values (1);
|
insert into mysqltest1.t1 values (1);
|
||||||
select * from mysqltest.t1 into outfile 'mysqltest/f1.txt';
|
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
|
||||||
create table mysqltest.t2 (n int);
|
create table mysqltest1.t2 (n int);
|
||||||
create table mysqltest.t3 (n int);
|
create table mysqltest1.t3 (n int);
|
||||||
--error 1010
|
--error 1010
|
||||||
drop database mysqltest;
|
drop database mysqltest1;
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
|
|
||||||
# test the branch of the code that deals with the query buffer overflow
|
# test the branch of the code that deals with the query buffer overflow
|
||||||
|
|
||||||
disable_query_log;
|
--disable_query_log
|
||||||
let $1=50;
|
let $1=50;
|
||||||
while ($1)
|
while ($1)
|
||||||
{
|
{
|
||||||
eval create table mysqltest.mysql_test_long_table_name$1 (n int);
|
eval create table mysqltest1.mysqltest_long_table_name$1 (n int);
|
||||||
dec $1;
|
dec $1;
|
||||||
}
|
}
|
||||||
enable_query_log;
|
--enable_query_log
|
||||||
|
|
||||||
--error 1010
|
--error 1010
|
||||||
drop database mysqltest;
|
drop database mysqltest1;
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
use test;
|
use test;
|
||||||
create table t1 (n int);
|
create table t1 (n int);
|
||||||
@ -38,7 +39,7 @@ insert into t1 values (1234);
|
|||||||
sync_slave_with_master;
|
sync_slave_with_master;
|
||||||
|
|
||||||
connection slave;
|
connection slave;
|
||||||
use mysqltest;
|
use mysqltest1;
|
||||||
show tables;
|
show tables;
|
||||||
use test;
|
use test;
|
||||||
select * from t1;
|
select * from t1;
|
||||||
@ -50,7 +51,5 @@ sync_slave_with_master;
|
|||||||
#cleanup
|
#cleanup
|
||||||
connection slave;
|
connection slave;
|
||||||
stop slave;
|
stop slave;
|
||||||
system rm -rf var/master-data/mysqltest;
|
system rm -rf var/master-data/mysqltest1;
|
||||||
|
|
||||||
# End of 4.1 tests
|
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ create procedure foo2()
|
|||||||
call foo2();
|
call foo2();
|
||||||
# verify CALL is not in binlog
|
# verify CALL is not in binlog
|
||||||
--replace_column 2 # 5 #
|
--replace_column 2 # 5 #
|
||||||
show binlog events from 605;
|
show binlog events from 518;
|
||||||
|
|
||||||
--error 1418;
|
--error 1418;
|
||||||
alter procedure foo2 contains sql;
|
alter procedure foo2 contains sql;
|
||||||
@ -147,7 +147,7 @@ show warnings;
|
|||||||
|
|
||||||
# Check that only successful CALLs are in binlog
|
# Check that only successful CALLs are in binlog
|
||||||
--replace_column 2 # 5 #
|
--replace_column 2 # 5 #
|
||||||
show binlog events from 841;
|
show binlog events from 990;
|
||||||
|
|
||||||
# Note that half-failed CALLs are not in binlog, which is a known
|
# Note that half-failed CALLs are not in binlog, which is a known
|
||||||
# bug. If we compare t2 on master and slave we see they differ:
|
# bug. If we compare t2 on master and slave we see they differ:
|
||||||
|
1
mysql-test/t/rpl_sp_effects-master.opt
Normal file
1
mysql-test/t/rpl_sp_effects-master.opt
Normal file
@ -0,0 +1 @@
|
|||||||
|
--log_bin_trust_routine_creators=1
|
1
mysql-test/t/rpl_sp_effects-slave.opt
Normal file
1
mysql-test/t/rpl_sp_effects-slave.opt
Normal file
@ -0,0 +1 @@
|
|||||||
|
--log_bin_trust_routine_creators=1
|
155
mysql-test/t/rpl_sp_effects.test
Normal file
155
mysql-test/t/rpl_sp_effects.test
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
# Test of replication of stored procedures (WL#2146 for MySQL 5.0)
|
||||||
|
|
||||||
|
source include/master-slave.inc;
|
||||||
|
|
||||||
|
# ****************************************************************
|
||||||
|
connection master;
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
--disable_warnings
|
||||||
|
drop procedure if exists p1;
|
||||||
|
drop procedure if exists p2;
|
||||||
|
drop function if exists f1;
|
||||||
|
drop table if exists t1,t2;
|
||||||
|
drop view if exists v1;
|
||||||
|
--enable_warnings
|
||||||
|
create table t1 (a int);
|
||||||
|
|
||||||
|
# 1. Test simple variables use.
|
||||||
|
delimiter //;
|
||||||
|
create procedure p1()
|
||||||
|
begin
|
||||||
|
declare spv int default 0;
|
||||||
|
while spv < 5 do
|
||||||
|
insert into t1 values(spv+1);
|
||||||
|
set spv=spv+1;
|
||||||
|
end while;
|
||||||
|
end//
|
||||||
|
delimiter ;//
|
||||||
|
|
||||||
|
call p1();
|
||||||
|
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select * from t1;
|
||||||
|
connection master;
|
||||||
|
delete from t1;
|
||||||
|
|
||||||
|
# 2. Test SP variable name
|
||||||
|
delimiter //;
|
||||||
|
create procedure p2()
|
||||||
|
begin
|
||||||
|
declare a int default 4;
|
||||||
|
create table t2 as select a;
|
||||||
|
end//
|
||||||
|
delimiter ;//
|
||||||
|
|
||||||
|
call p2();
|
||||||
|
select * from t2;
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select * from t2;
|
||||||
|
|
||||||
|
connection master;
|
||||||
|
drop procedure p1;
|
||||||
|
drop procedure p2;
|
||||||
|
drop table t2;
|
||||||
|
|
||||||
|
# 3. Test FUNCTIONs in various places
|
||||||
|
|
||||||
|
delimiter //;
|
||||||
|
create function f1(x int) returns int
|
||||||
|
begin
|
||||||
|
insert into t1 values(x);
|
||||||
|
return x+1;
|
||||||
|
end//
|
||||||
|
|
||||||
|
create procedure p1(a int, b int)
|
||||||
|
begin
|
||||||
|
declare v int default f1(5);
|
||||||
|
if (f1(6)) then
|
||||||
|
select 'yes';
|
||||||
|
end if;
|
||||||
|
set v = f1(7);
|
||||||
|
while f1(8) < 1 do
|
||||||
|
select 'this cant be';
|
||||||
|
end while;
|
||||||
|
|
||||||
|
end//
|
||||||
|
delimiter ;//
|
||||||
|
|
||||||
|
call p1(f1(1), f1(2));
|
||||||
|
select * from t1;
|
||||||
|
|
||||||
|
create table t2(a int);
|
||||||
|
insert into t2 values (10),(11);
|
||||||
|
select a,f1(a) from t2;
|
||||||
|
|
||||||
|
# This shouldn't put separate 'call f1(3)' into binlog:
|
||||||
|
insert into t2 select f1(3);
|
||||||
|
select 'master:',a from t1;
|
||||||
|
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
|
||||||
|
connection master;
|
||||||
|
drop procedure p1;
|
||||||
|
delete from t1;
|
||||||
|
delete from t2;
|
||||||
|
|
||||||
|
# 4. VIEWs
|
||||||
|
delete from t1;
|
||||||
|
insert into t2 values(1),(2);
|
||||||
|
create view v1 as select f1(a) from t2;
|
||||||
|
select * from v1;
|
||||||
|
select 'master:',a from t1;
|
||||||
|
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
|
||||||
|
connection master;
|
||||||
|
drop view v1;
|
||||||
|
delete from t1;
|
||||||
|
|
||||||
|
# 5. Prepared statements.
|
||||||
|
prepare s1 from 'select f1(?)';
|
||||||
|
set @xx=123;
|
||||||
|
execute s1 using @xx;
|
||||||
|
select 'master:',a from t1;
|
||||||
|
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
|
||||||
|
connection master;
|
||||||
|
delete from t1;
|
||||||
|
|
||||||
|
# 5. Cursors.
|
||||||
|
# t2 has (1),(2);
|
||||||
|
delimiter //;
|
||||||
|
create procedure p1(spv int)
|
||||||
|
begin
|
||||||
|
declare c cursor for select f1(spv) from t2;
|
||||||
|
while (spv > 2) do
|
||||||
|
open c;
|
||||||
|
fetch c into spv;
|
||||||
|
close c;
|
||||||
|
set spv= spv - 10;
|
||||||
|
end while;
|
||||||
|
end//
|
||||||
|
delimiter ;//
|
||||||
|
|
||||||
|
call p1(15);
|
||||||
|
select 'master:',a from t1;
|
||||||
|
sync_slave_with_master;
|
||||||
|
connection slave;
|
||||||
|
select 'slave:',a from t1;
|
||||||
|
|
||||||
|
connection master;
|
||||||
|
drop procedure p1;
|
||||||
|
drop function f1;
|
||||||
|
drop table t1,t2;
|
||||||
|
|
||||||
|
sync_slave_with_master;
|
@ -2445,6 +2445,15 @@ select * from t1 natural join t3 natural join t2;
|
|||||||
drop table t1, t2, t3;
|
drop table t1, t2, t3;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #12841: Server crash on DO IFNULL(NULL,NULL)
|
||||||
|
#
|
||||||
|
# (testing returning of int, decimal, real, string)
|
||||||
|
DO IFNULL(NULL, NULL);
|
||||||
|
SELECT CAST(IFNULL(NULL, NULL) AS DECIMAL);
|
||||||
|
SELECT ABS(IFNULL(NULL, NULL));
|
||||||
|
SELECT IFNULL(NULL, NULL);
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug #6495 Illogical requirement for column qualification in NATURAL join
|
# Bug #6495 Illogical requirement for column qualification in NATURAL join
|
||||||
#
|
#
|
||||||
|
@ -1079,6 +1079,19 @@ call bug11394(2, 1)|
|
|||||||
drop procedure bug11394|
|
drop procedure bug11394|
|
||||||
delimiter ;|
|
delimiter ;|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# BUG 12490 (Packets out of order if calling HELP CONTENTS from Stored Procedure)
|
||||||
|
#
|
||||||
|
--error 1314
|
||||||
|
CREATE PROCEDURE BUG_12490() HELP CONTENTS;
|
||||||
|
--error 1314
|
||||||
|
CREATE FUNCTION BUG_12490() RETURNS INT HELP CONTENTS;
|
||||||
|
CREATE TABLE t_bug_12490(a int);
|
||||||
|
--error 1314
|
||||||
|
CREATE TRIGGER BUG_12490 BEFORE UPDATE ON t_bug_12490 FOR EACH ROW HELP CONTENTS;
|
||||||
|
DROP TABLE t_bug_12490;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug#11834 "Re-execution of prepared statement with dropped function
|
# Bug#11834 "Re-execution of prepared statement with dropped function
|
||||||
# crashes server". Also tests handling of prepared stmts which use
|
# crashes server". Also tests handling of prepared stmts which use
|
||||||
|
@ -3996,6 +3996,53 @@ truncate t4|
|
|||||||
drop table t3, t4|
|
drop table t3, t4|
|
||||||
drop procedure if exists bug12168|
|
drop procedure if exists bug12168|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #11333 "Stored Procedure: Memory blow up on repeated SELECT ... INTO
|
||||||
|
# query"
|
||||||
|
# One more memleak bug. Use the test to check memory consumption.
|
||||||
|
#
|
||||||
|
|
||||||
|
--disable_warnings
|
||||||
|
drop table if exists t3|
|
||||||
|
drop procedure if exists bug11333|
|
||||||
|
--enable_warnings
|
||||||
|
|
||||||
|
create table t3 (c1 char(128))|
|
||||||
|
|
||||||
|
insert into t3 values
|
||||||
|
('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')|
|
||||||
|
|
||||||
|
|
||||||
|
create procedure bug11333(i int)
|
||||||
|
begin
|
||||||
|
declare tmp varchar(128);
|
||||||
|
set @x = 0;
|
||||||
|
repeat
|
||||||
|
select c1 into tmp from t3
|
||||||
|
where c1 = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
||||||
|
set @x = @x + 1;
|
||||||
|
until @x >= i
|
||||||
|
end repeat;
|
||||||
|
end|
|
||||||
|
|
||||||
|
call bug11333(10)|
|
||||||
|
|
||||||
|
drop procedure bug11333|
|
||||||
|
drop table t3|
|
||||||
|
|
||||||
|
#
|
||||||
|
# BUG#9048: Creating a function with char binary IN parameter fails
|
||||||
|
#
|
||||||
|
--disable_warnings
|
||||||
|
drop function if exists bug9048|
|
||||||
|
--enable_warnings
|
||||||
|
create function bug9048(f1 char binary) returns char binary
|
||||||
|
begin
|
||||||
|
set f1= concat( 'hello', f1 );
|
||||||
|
return f1;
|
||||||
|
end|
|
||||||
|
drop function bug9048|
|
||||||
|
|
||||||
#
|
#
|
||||||
# BUG#NNNN: New bug synopsis
|
# BUG#NNNN: New bug synopsis
|
||||||
#
|
#
|
||||||
|
@ -395,6 +395,7 @@ SET GLOBAL table_cache=DEFAULT;
|
|||||||
#
|
#
|
||||||
# Bug#6282 Packet error with SELECT INTO
|
# Bug#6282 Packet error with SELECT INTO
|
||||||
#
|
#
|
||||||
|
|
||||||
create table t1 (a int);
|
create table t1 (a int);
|
||||||
select a into @x from t1;
|
select a into @x from t1;
|
||||||
show warnings;
|
show warnings;
|
||||||
@ -412,9 +413,17 @@ set @@global.error_count=1;
|
|||||||
#
|
#
|
||||||
# Bug #10351: Setting ulong variable to > MAX_ULONG fails on 32-bit platform
|
# Bug #10351: Setting ulong variable to > MAX_ULONG fails on 32-bit platform
|
||||||
#
|
#
|
||||||
|
|
||||||
set @@max_heap_table_size= 4294967296;
|
set @@max_heap_table_size= 4294967296;
|
||||||
select @@max_heap_table_size > 0;
|
select @@max_heap_table_size > 0;
|
||||||
set global max_heap_table_size= 4294967296;
|
set global max_heap_table_size= 4294967296;
|
||||||
select @@max_heap_table_size > 0;
|
select @@max_heap_table_size > 0;
|
||||||
set @@max_heap_table_size= 4294967296;
|
set @@max_heap_table_size= 4294967296;
|
||||||
select @@max_heap_table_size > 0;
|
select @@max_heap_table_size > 0;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #9613: @@have_innodb
|
||||||
|
#
|
||||||
|
|
||||||
|
--replace_column 1 #
|
||||||
|
select @@have_innodb;
|
||||||
|
@ -1943,6 +1943,18 @@ create view v1 as select timestampdiff(day,'1997-01-01 00:00:00','1997-01-02 00:
|
|||||||
select * from v1;
|
select * from v1;
|
||||||
drop view v1;
|
drop view v1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# repeatable CREATE VIEW statement BUG#12468
|
||||||
|
#
|
||||||
|
create table t1(a int);
|
||||||
|
create procedure p1() create view v1 as select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
-- error 1146
|
||||||
|
call p1();
|
||||||
|
-- error 1146
|
||||||
|
call p1();
|
||||||
|
drop procedure p1;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug #10624 Views with multiple UNION and UNION ALL produce incorrect results
|
# Bug #10624 Views with multiple UNION and UNION ALL produce incorrect results
|
||||||
#
|
#
|
||||||
@ -1983,3 +1995,12 @@ ALTER TABLE t1 CHANGE COLUMN f4 f4x CHAR(5);
|
|||||||
DESCRIBE v1;
|
DESCRIBE v1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #12489 wrongly printed strcmp() function results in creation of broken
|
||||||
|
# view
|
||||||
|
create table t1 (f1 char);
|
||||||
|
create view v1 as select strcmp(f1,'a') from t1;
|
||||||
|
select * from v1;
|
||||||
|
drop view v1;
|
||||||
|
drop table t1;
|
||||||
|
@ -30,7 +30,7 @@ libmysys_a_SOURCES = my_init.c my_getwd.c mf_getdate.c my_mmap.c \
|
|||||||
mf_path.c mf_loadpath.c my_file.c \
|
mf_path.c mf_loadpath.c my_file.c \
|
||||||
my_open.c my_create.c my_dup.c my_seek.c my_read.c \
|
my_open.c my_create.c my_dup.c my_seek.c my_read.c \
|
||||||
my_pread.c my_write.c \
|
my_pread.c my_write.c \
|
||||||
mf_keycaches.c my_crc32.c \
|
mf_keycache.c mf_keycaches.c my_crc32.c \
|
||||||
mf_iocache.c mf_iocache2.c mf_cache.c mf_tempfile.c \
|
mf_iocache.c mf_iocache2.c mf_cache.c mf_tempfile.c \
|
||||||
mf_tempdir.c my_lock.c mf_brkhant.c my_alarm.c \
|
mf_tempdir.c my_lock.c mf_brkhant.c my_alarm.c \
|
||||||
my_malloc.c my_realloc.c my_once.c mulalloc.c \
|
my_malloc.c my_realloc.c my_once.c mulalloc.c \
|
||||||
|
@ -704,7 +704,6 @@ CHARSET_INFO *fs_character_set()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Escape apostrophes by doubling them up
|
Escape apostrophes by doubling them up
|
||||||
|
|
||||||
|
@ -54,6 +54,8 @@ my_string fn_format(my_string to, const char *name, const char *dir,
|
|||||||
pack_dirname(dev,dev); /* Put in ./.. and ~/.. */
|
pack_dirname(dev,dev); /* Put in ./.. and ~/.. */
|
||||||
if (flag & MY_UNPACK_FILENAME)
|
if (flag & MY_UNPACK_FILENAME)
|
||||||
(void) unpack_dirname(dev,dev); /* Replace ~/.. with dir */
|
(void) unpack_dirname(dev,dev); /* Replace ~/.. with dir */
|
||||||
|
if (flag & MY_UNIX_PATH)
|
||||||
|
to_unix_path(dev); /* Fix to MySQL representation */
|
||||||
if ((pos= (char*) strchr(name,FN_EXTCHAR)) != NullS)
|
if ((pos= (char*) strchr(name,FN_EXTCHAR)) != NullS)
|
||||||
{
|
{
|
||||||
if ((flag & MY_REPLACE_EXT) == 0) /* If we should keep old ext */
|
if ((flag & MY_REPLACE_EXT) == 0) /* If we should keep old ext */
|
||||||
|
@ -206,7 +206,7 @@ gptr alloc_root(MEM_ROOT *mem_root,unsigned int Size)
|
|||||||
next->left= get_size-ALIGN_SIZE(sizeof(USED_MEM));
|
next->left= get_size-ALIGN_SIZE(sizeof(USED_MEM));
|
||||||
*prev=next;
|
*prev=next;
|
||||||
}
|
}
|
||||||
|
|
||||||
point= (gptr) ((char*) next+ (next->size-next->left));
|
point= (gptr) ((char*) next+ (next->size-next->left));
|
||||||
/*TODO: next part may be unneded due to mem_root->first_block_usage counter*/
|
/*TODO: next part may be unneded due to mem_root->first_block_usage counter*/
|
||||||
if ((next->left-= Size) < mem_root->min_malloc)
|
if ((next->left-= Size) < mem_root->min_malloc)
|
||||||
@ -221,6 +221,12 @@ gptr alloc_root(MEM_ROOT *mem_root,unsigned int Size)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SAFEMALLOC
|
||||||
|
#define TRASH(X) bfill(((char*)(X) + ((X)->size-(X)->left)), (X)->left, 0xa5)
|
||||||
|
#else
|
||||||
|
#define TRASH /* no-op */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Mark all data in blocks free for reusage */
|
/* Mark all data in blocks free for reusage */
|
||||||
|
|
||||||
static inline void mark_blocks_free(MEM_ROOT* root)
|
static inline void mark_blocks_free(MEM_ROOT* root)
|
||||||
@ -231,14 +237,20 @@ static inline void mark_blocks_free(MEM_ROOT* root)
|
|||||||
/* iterate through (partially) free blocks, mark them free */
|
/* iterate through (partially) free blocks, mark them free */
|
||||||
last= &root->free;
|
last= &root->free;
|
||||||
for (next= root->free; next; next= *(last= &next->next))
|
for (next= root->free; next; next= *(last= &next->next))
|
||||||
|
{
|
||||||
next->left= next->size - ALIGN_SIZE(sizeof(USED_MEM));
|
next->left= next->size - ALIGN_SIZE(sizeof(USED_MEM));
|
||||||
|
TRASH(next);
|
||||||
|
}
|
||||||
|
|
||||||
/* Combine the free and the used list */
|
/* Combine the free and the used list */
|
||||||
*last= next=root->used;
|
*last= next=root->used;
|
||||||
|
|
||||||
/* now go through the used blocks and mark them free */
|
/* now go through the used blocks and mark them free */
|
||||||
for (; next; next= next->next)
|
for (; next; next= next->next)
|
||||||
|
{
|
||||||
next->left= next->size - ALIGN_SIZE(sizeof(USED_MEM));
|
next->left= next->size - ALIGN_SIZE(sizeof(USED_MEM));
|
||||||
|
TRASH(next);
|
||||||
|
}
|
||||||
|
|
||||||
/* Now everything is set; Indicate that nothing is used anymore */
|
/* Now everything is set; Indicate that nothing is used anymore */
|
||||||
root->used= 0;
|
root->used= 0;
|
||||||
@ -298,6 +310,7 @@ void free_root(MEM_ROOT *root, myf MyFlags)
|
|||||||
{
|
{
|
||||||
root->free=root->pre_alloc;
|
root->free=root->pre_alloc;
|
||||||
root->free->left=root->pre_alloc->size-ALIGN_SIZE(sizeof(USED_MEM));
|
root->free->left=root->pre_alloc->size-ALIGN_SIZE(sizeof(USED_MEM));
|
||||||
|
TRASH(root->pre_alloc);
|
||||||
root->free->next=0;
|
root->free->next=0;
|
||||||
}
|
}
|
||||||
root->block_num= 4;
|
root->block_num= 4;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MyISAM Check
|
# MyISAM Check
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL MyISAM Table Check Tool"
|
SCREENNAME "MySQL MyISAM Table Check Tool[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL MyISAM Table Check Tool"
|
DESCRIPTION "MySQL MyISAM Table Check Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Client
|
# MySQL Client
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Monitor"
|
SCREENNAME "MySQL Monitor[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Monitor"
|
DESCRIPTION "MySQL Monitor"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/mode.h>
|
#include <sys/mode.h>
|
||||||
#include "my_manage.h"
|
#include "my_manage.h"
|
||||||
|
#ifdef __NETWARE__
|
||||||
|
#define strindex(a,b) ((char*)strindex(a,b))
|
||||||
|
#define strstr(a,b) ((char*)strstr(a,b))
|
||||||
|
#endif
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
macros
|
macros
|
||||||
@ -939,7 +944,7 @@ void run_test(char *test)
|
|||||||
// increment total
|
// increment total
|
||||||
++total_test;
|
++total_test;
|
||||||
}
|
}
|
||||||
else if (err == 2)
|
else if (err == 62)
|
||||||
{
|
{
|
||||||
// skip
|
// skip
|
||||||
rstr = TEST_SKIP;
|
rstr = TEST_SKIP;
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
# MySQL Admin
|
# MySQL Admin
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Admin"
|
SCREENNAME "MySQL Admin[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Admin Tool"
|
DESCRIPTION "MySQL Admin Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
STACKSIZE 32767
|
||||||
XDCDATA ../netware/mysql.xdc
|
XDCDATA ../netware/mysql.xdc
|
||||||
#DEBUG
|
#DEBUG
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Binary Log
|
# MySQL Binary Log
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Binary Log Dump Tool"
|
SCREENNAME "MySQL Binary Log Dump Tool[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Binary Log Dump Tool"
|
DESCRIPTION "MySQL Binary Log Dump Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Client
|
# MySQL Client
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Check Tool"
|
SCREENNAME "MySQL Check Tool[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Check Tool"
|
DESCRIPTION "MySQL Check Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Admin
|
# MySQL Admin
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Dump Tool"
|
SCREENNAME "MySQL Dump Tool[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Dump Tool"
|
DESCRIPTION "MySQL Dump Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Client
|
# MySQL Client
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Import"
|
SCREENNAME "MySQL Import[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Import Tool"
|
DESCRIPTION "MySQL Import Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# MySQL Show
|
# MySQL Show
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
MODULE libc.nlm
|
MODULE libc.nlm
|
||||||
SCREENNAME "MySQL Show"
|
SCREENNAME "MySQL Show[scrollable]"
|
||||||
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
|
||||||
DESCRIPTION "MySQL Show Tool"
|
DESCRIPTION "MySQL Show Tool"
|
||||||
VERSION 4, 0
|
VERSION 4, 0
|
||||||
|
@ -508,7 +508,7 @@ ALTER TABLE proc MODIFY name char(64) DEFAULT '' NOT NULL,
|
|||||||
'TRADITIONAL',
|
'TRADITIONAL',
|
||||||
'NO_AUTO_CREATE_USER',
|
'NO_AUTO_CREATE_USER',
|
||||||
'HIGH_NOT_PRECEDENCE'
|
'HIGH_NOT_PRECEDENCE'
|
||||||
) DEFAULT '' NOT NULL
|
) DEFAULT '' NOT NULL,
|
||||||
DEFAULT CHARACTER SET utf8;
|
DEFAULT CHARACTER SET utf8;
|
||||||
|
|
||||||
# Correct the character set and collation
|
# Correct the character set and collation
|
||||||
|
@ -70,7 +70,6 @@ mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \
|
|||||||
user_map.h user_map.cc \
|
user_map.h user_map.cc \
|
||||||
messages.h messages.cc \
|
messages.h messages.cc \
|
||||||
commands.h commands.cc \
|
commands.h commands.cc \
|
||||||
factory.h factory.cc \
|
|
||||||
instance.h instance.cc \
|
instance.h instance.cc \
|
||||||
instance_map.h instance_map.cc\
|
instance_map.h instance_map.cc\
|
||||||
instance_options.h instance_options.cc \
|
instance_options.h instance_options.cc \
|
||||||
|
@ -461,7 +461,8 @@ int Show_instance_log::execute(struct st_net *net, ulong connection_id)
|
|||||||
/* Instance has no such log */
|
/* Instance has no such log */
|
||||||
if (logpath == NULL)
|
if (logpath == NULL)
|
||||||
return ER_NO_SUCH_LOG;
|
return ER_NO_SUCH_LOG;
|
||||||
else if (*logpath == '\0')
|
|
||||||
|
if (*logpath == '\0')
|
||||||
return ER_GUESS_LOGFILE;
|
return ER_GUESS_LOGFILE;
|
||||||
|
|
||||||
|
|
||||||
@ -571,6 +572,7 @@ int Show_instance_log_files::execute(struct st_net *net, ulong connection_id)
|
|||||||
if ((instance= instance_map->
|
if ((instance= instance_map->
|
||||||
find(instance_name, strlen(instance_name))) == NULL)
|
find(instance_name, strlen(instance_name))) == NULL)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
We have alike structure in instance_options.cc. We use such to be able
|
We have alike structure in instance_options.cc. We use such to be able
|
||||||
@ -686,7 +688,7 @@ Set_option::Set_option(Instance_map *instance_map_arg,
|
|||||||
option.
|
option.
|
||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
ER_BAD_INSTANCE_NAME The instance name specified is not valid
|
ER_OUT_OF_RESOURCES out of resources
|
||||||
ER_ACCESS_OPTION_FILE Cannot access the option file
|
ER_ACCESS_OPTION_FILE Cannot access the option file
|
||||||
0 - ok
|
0 - ok
|
||||||
*/
|
*/
|
||||||
@ -694,22 +696,14 @@ Set_option::Set_option(Instance_map *instance_map_arg,
|
|||||||
int Set_option::correct_file(int skip)
|
int Set_option::correct_file(int skip)
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
|
const static int mysys_to_im_error[]= { 0, ER_OUT_OF_RESOURCES,
|
||||||
|
ER_ACCESS_OPTION_FILE };
|
||||||
|
|
||||||
error= modify_defaults_file(Options::config_file, option,
|
error= modify_defaults_file(Options::config_file, option,
|
||||||
option_value, instance_name, skip);
|
option_value, instance_name, skip);
|
||||||
switch (error)
|
DBUG_ASSERT(error >= 0 && error <= 2);
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
return 0; /* everything was fine */
|
|
||||||
case 1:
|
|
||||||
return ER_OUT_OF_RESOURCES;
|
|
||||||
case 2:
|
|
||||||
return ER_ACCESS_OPTION_FILE;
|
|
||||||
default:
|
|
||||||
DBUG_ASSERT(0); /* should never get here */
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0; /* keep compiler happy */
|
return mysys_to_im_error[error];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -725,10 +719,9 @@ int Set_option::correct_file(int skip)
|
|||||||
1 - error occured
|
1 - error occured
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
int Set_option::do_command(struct st_net *net)
|
int Set_option::do_command(struct st_net *net)
|
||||||
{
|
{
|
||||||
int error= 0;
|
int error;
|
||||||
|
|
||||||
/* we must hold the instance_map mutex while changing config file */
|
/* we must hold the instance_map mutex while changing config file */
|
||||||
instance_map->lock();
|
instance_map->lock();
|
||||||
@ -746,16 +739,14 @@ int Set_option::execute(struct st_net *net, ulong connection_id)
|
|||||||
int val;
|
int val;
|
||||||
|
|
||||||
val= do_command(net);
|
val= do_command(net);
|
||||||
|
|
||||||
if (val == 0)
|
if (val == 0)
|
||||||
{
|
|
||||||
net_send_ok(net, connection_id, NULL);
|
net_send_ok(net, connection_id, NULL);
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
return ER_BAD_INSTANCE_NAME;
|
return ER_BAD_INSTANCE_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -785,16 +776,15 @@ int Stop_instance::execute(struct st_net *net, ulong connection_id)
|
|||||||
|
|
||||||
if (instance == 0)
|
if (instance == 0)
|
||||||
return ER_BAD_INSTANCE_NAME; /* haven't found an instance */
|
return ER_BAD_INSTANCE_NAME; /* haven't found an instance */
|
||||||
else
|
|
||||||
{
|
if (!(instance->options.nonguarded))
|
||||||
if (!(instance->options.nonguarded))
|
instance_map->guardian->stop_guard(instance);
|
||||||
instance_map->guardian->
|
|
||||||
stop_guard(instance);
|
if ((err_code= instance->stop()))
|
||||||
if ((err_code= instance->stop()))
|
return err_code;
|
||||||
return err_code;
|
|
||||||
net_send_ok(net, connection_id, NULL);
|
net_send_ok(net, connection_id, NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,100 +0,0 @@
|
|||||||
/* Copyright (C) 2004 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
#include "factory.h"
|
|
||||||
|
|
||||||
|
|
||||||
Show_instances *Command_factory::new_Show_instances()
|
|
||||||
{
|
|
||||||
return new Show_instances(&instance_map);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Flush_instances *Command_factory::new_Flush_instances()
|
|
||||||
{
|
|
||||||
return new Flush_instances(&instance_map);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Show_instance_status *Command_factory::
|
|
||||||
new_Show_instance_status(const char *name, uint len)
|
|
||||||
{
|
|
||||||
return new Show_instance_status(&instance_map, name, len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Show_instance_options *Command_factory::
|
|
||||||
new_Show_instance_options(const char *name, uint len)
|
|
||||||
{
|
|
||||||
return new Show_instance_options(&instance_map, name, len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Start_instance *Command_factory::
|
|
||||||
new_Start_instance(const char *name, uint len)
|
|
||||||
{
|
|
||||||
return new Start_instance(&instance_map, name, len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Stop_instance *Command_factory::new_Stop_instance(const char *name, uint len)
|
|
||||||
{
|
|
||||||
return new Stop_instance(&instance_map, name, len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Syntax_error *Command_factory::new_Syntax_error()
|
|
||||||
{
|
|
||||||
return new Syntax_error();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Set_option *Command_factory::
|
|
||||||
new_Set_option(const char* name, uint len,
|
|
||||||
const char *option_arg, uint option_len,
|
|
||||||
const char *option_value_arg, uint option_value_len)
|
|
||||||
{
|
|
||||||
return new Set_option(&instance_map, name, len, option_arg,
|
|
||||||
option_len, option_value_arg, option_value_len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Unset_option *Command_factory::
|
|
||||||
new_Unset_option(const char* name, uint len,
|
|
||||||
const char *option_arg, uint option_len,
|
|
||||||
const char *option_value_arg, uint option_value_len)
|
|
||||||
{
|
|
||||||
return new Unset_option(&instance_map, name, len, option_arg,
|
|
||||||
option_len, option_value_arg, option_value_len);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Show_instance_log *Command_factory::
|
|
||||||
new_Show_instance_log(const char *name, uint len,
|
|
||||||
Log_type log_type_arg,
|
|
||||||
const char *size, const char *offset)
|
|
||||||
{
|
|
||||||
return new Show_instance_log(&instance_map, name, len,
|
|
||||||
log_type_arg, size, offset);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Show_instance_log_files *Command_factory::
|
|
||||||
new_Show_instance_log_files(const char *name, uint len)
|
|
||||||
{
|
|
||||||
return new Show_instance_log_files(&instance_map, name, len);
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
|||||||
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_FACTORY_H
|
|
||||||
#define INCLUDES_MYSQL_INSTANCE_MANAGER_FACTORY_H
|
|
||||||
/* Copyright (C) 2004 MySQL AB
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
||||||
|
|
||||||
#include "command.h"
|
|
||||||
#include "commands.h"
|
|
||||||
#include "instance_map.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
This class could be used to handle various protocols. We could pass to
|
|
||||||
the parser various derived classes. I.e Mylsq_command_factory,
|
|
||||||
Http_command_factory e.t.c. Also see comment in the instance_map.cc
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Show_instances;
|
|
||||||
|
|
||||||
class Command_factory
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
Command_factory(Instance_map &instance_map): instance_map(instance_map)
|
|
||||||
{}
|
|
||||||
|
|
||||||
Show_instances *new_Show_instances ();
|
|
||||||
Flush_instances *new_Flush_instances ();
|
|
||||||
Syntax_error *new_Syntax_error ();
|
|
||||||
Show_instance_status *new_Show_instance_status (const char *name, uint len);
|
|
||||||
Show_instance_options *new_Show_instance_options (const char *name, uint len);
|
|
||||||
Start_instance *new_Start_instance (const char *name, uint len);
|
|
||||||
Stop_instance *new_Stop_instance (const char *name, uint len);
|
|
||||||
Show_instance_log *new_Show_instance_log (const char *name, uint len,
|
|
||||||
Log_type log_type_arg,
|
|
||||||
const char *size,
|
|
||||||
const char *offset);
|
|
||||||
Set_option *new_Set_option (const char *name, uint len,
|
|
||||||
const char *option_arg, uint option_len,
|
|
||||||
const char *option_value_arg,
|
|
||||||
uint option_value_len);
|
|
||||||
Unset_option *new_Unset_option (const char *name, uint len,
|
|
||||||
const char *option_arg, uint option_len,
|
|
||||||
const char *option_value_arg,
|
|
||||||
uint option_value_len);
|
|
||||||
Show_instance_log_files *new_Show_instance_log_files (const char *name,
|
|
||||||
uint len);
|
|
||||||
|
|
||||||
Instance_map &instance_map;
|
|
||||||
};
|
|
||||||
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_FACTORY_H */
|
|
@ -122,8 +122,7 @@ void Guardian_thread::process_instance(Instance *instance,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (current_node->state)
|
switch (current_node->state) {
|
||||||
{
|
|
||||||
case NOT_STARTED:
|
case NOT_STARTED:
|
||||||
instance->start();
|
instance->start();
|
||||||
current_node->last_checked= current_time;
|
current_node->last_checked= current_time;
|
||||||
@ -149,7 +148,8 @@ void Guardian_thread::process_instance(Instance *instance,
|
|||||||
log_info("guardian: starting instance %s",
|
log_info("guardian: starting instance %s",
|
||||||
instance->options.instance_name);
|
instance->options.instance_name);
|
||||||
}
|
}
|
||||||
else current_node->state= CRASHED;
|
else
|
||||||
|
current_node->state= CRASHED;
|
||||||
break;
|
break;
|
||||||
case CRASHED: /* just regular restarts */
|
case CRASHED: /* just regular restarts */
|
||||||
if (current_time - current_node->last_checked >
|
if (current_time - current_node->last_checked >
|
||||||
@ -219,7 +219,8 @@ void Guardian_thread::run()
|
|||||||
|
|
||||||
/* check the loop predicate before sleeping */
|
/* check the loop predicate before sleeping */
|
||||||
if (!(shutdown_requested && (!(guarded_instances))))
|
if (!(shutdown_requested && (!(guarded_instances))))
|
||||||
pthread_cond_timedwait(&COND_guardian, &LOCK_guardian, &timeout);
|
thread_registry.cond_timedwait(&thread_info, &COND_guardian,
|
||||||
|
&LOCK_guardian, &timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
stopped= TRUE;
|
stopped= TRUE;
|
||||||
@ -365,18 +366,20 @@ int Guardian_thread::stop_guard(Instance *instance)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Start Guardian shutdown. Attempt to start instances if requested.
|
An internal method which is called at shutdown to unregister instances and
|
||||||
|
attempt to stop them if requested.
|
||||||
|
|
||||||
SYNOPSYS
|
SYNOPSYS
|
||||||
stop_instances()
|
stop_instances()
|
||||||
stop_instances_arg whether we should stop instances at shutdown
|
stop_instances_arg whether we should stop instances at shutdown
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
||||||
Loops through the guarded_instances list and prepares them for shutdown.
|
Loops through the guarded_instances list and prepares them for shutdown.
|
||||||
If stop_instances was requested, we need to issue a stop command and change
|
If stop_instances was requested, we need to issue a stop command and change
|
||||||
the state accordingly. Otherwise we could simply delete an entry.
|
the state accordingly. Otherwise we simply delete an entry.
|
||||||
NOTE: Guardian should be locked by the calling function
|
|
||||||
|
NOTE
|
||||||
|
Guardian object should be locked by the calling function.
|
||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
0 - ok
|
0 - ok
|
||||||
|
@ -62,8 +62,8 @@ class Guardian_thread: public Guardian_thread_args
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/* states of an instance */
|
/* states of an instance */
|
||||||
enum INSTANCE_STATE { NOT_STARTED= 1, STARTING, STARTED, JUST_CRASHED,
|
enum enum_instance_state { NOT_STARTED= 1, STARTING, STARTED, JUST_CRASHED,
|
||||||
CRASHED, CRASHED_AND_ABANDONED, STOPPING };
|
CRASHED, CRASHED_AND_ABANDONED, STOPPING };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The Guardian list node structure. Guardian utilizes it to store
|
The Guardian list node structure. Guardian utilizes it to store
|
||||||
@ -74,7 +74,7 @@ public:
|
|||||||
{
|
{
|
||||||
Instance *instance;
|
Instance *instance;
|
||||||
/* state of an instance (i.e. STARTED, CRASHED, etc.) */
|
/* state of an instance (i.e. STARTED, CRASHED, etc.) */
|
||||||
INSTANCE_STATE state;
|
enum_instance_state state;
|
||||||
/* the amount of attemts to restart instance (cleaned up at success) */
|
/* the amount of attemts to restart instance (cleaned up at success) */
|
||||||
int restart_counter;
|
int restart_counter;
|
||||||
/* triggered at a crash */
|
/* triggered at a crash */
|
||||||
|
@ -49,12 +49,12 @@ public:
|
|||||||
Instance_options options;
|
Instance_options options;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int crashed;
|
||||||
/*
|
/*
|
||||||
Mutex protecting the instance. Currently we use it to avoid the
|
Mutex protecting the instance. Currently we use it to avoid the
|
||||||
double start of the instance. This happens when the instance is starting
|
double start of the instance. This happens when the instance is starting
|
||||||
and we issue the start command once more.
|
and we issue the start command once more.
|
||||||
*/
|
*/
|
||||||
int crashed;
|
|
||||||
pthread_mutex_t LOCK_instance;
|
pthread_mutex_t LOCK_instance;
|
||||||
/*
|
/*
|
||||||
This condition variable is used to wake threads waiting for instance to
|
This condition variable is used to wake threads waiting for instance to
|
||||||
|
@ -91,22 +91,20 @@ static int process_option(void *ctx, const char *group, const char *option)
|
|||||||
if ((instance= map->find(group, strlen(group))) == NULL)
|
if ((instance= map->find(group, strlen(group))) == NULL)
|
||||||
{
|
{
|
||||||
if ((instance= new Instance) == 0)
|
if ((instance= new Instance) == 0)
|
||||||
goto err_new_instance;
|
|
||||||
if (instance->init(group))
|
|
||||||
goto err;
|
|
||||||
if (map->add_instance(instance))
|
|
||||||
goto err;
|
goto err;
|
||||||
|
if (instance->init(group) || map->add_instance(instance))
|
||||||
|
goto err_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (instance->options.add_option(option))
|
if (instance->options.add_option(option))
|
||||||
goto err;
|
goto err; /* the instance'll be deleted when we destroy the map */
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err:
|
err_instance:
|
||||||
delete instance;
|
delete instance;
|
||||||
err_new_instance:
|
err:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,10 +120,8 @@ mysqld_path(default_mysqld_path_arg)
|
|||||||
|
|
||||||
int Instance_map::init()
|
int Instance_map::init()
|
||||||
{
|
{
|
||||||
if (hash_init(&hash, default_charset_info, START_HASH_SIZE, 0, 0,
|
return hash_init(&hash, default_charset_info, START_HASH_SIZE, 0, 0,
|
||||||
get_instance_key, delete_instance, 0))
|
get_instance_key, delete_instance, 0);
|
||||||
return 1;
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Instance_map::~Instance_map()
|
Instance_map::~Instance_map()
|
||||||
@ -217,10 +213,9 @@ int Instance_map::complete_initialization()
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
err:
|
|
||||||
return 1;
|
|
||||||
err_instance:
|
err_instance:
|
||||||
delete instance;
|
delete instance;
|
||||||
|
err:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,13 +51,9 @@ static inline int create_mysqld_command(Buffer *buf,
|
|||||||
/* here the '\0' character is copied from the option string */
|
/* here the '\0' character is copied from the option string */
|
||||||
buf->append(position, option, option_len);
|
buf->append(position, option, option_len);
|
||||||
|
|
||||||
if (buf->is_error())
|
return buf->is_error();
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
else
|
return 1;
|
||||||
return 1;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -96,10 +92,8 @@ int Instance_options::get_default_option(char *result, size_t result_len,
|
|||||||
/* +2 eats first "--" from the option string (E.g. "--datadir") */
|
/* +2 eats first "--" from the option string (E.g. "--datadir") */
|
||||||
rc= parse_output_and_get_value(cmd.buffer, option_name + 2,
|
rc= parse_output_and_get_value(cmd.buffer, option_name + 2,
|
||||||
result, result_len, GET_VALUE);
|
result, result_len, GET_VALUE);
|
||||||
|
|
||||||
return rc;
|
|
||||||
err:
|
err:
|
||||||
return 1;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -142,11 +136,8 @@ int Instance_options::fill_instance_version()
|
|||||||
result[strlen(result) - NEWLINE_LEN]= '\0';
|
result[strlen(result) - NEWLINE_LEN]= '\0';
|
||||||
mysqld_version= strdup_root(&alloc, result);
|
mysqld_version= strdup_root(&alloc, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc;
|
|
||||||
|
|
||||||
err:
|
err:
|
||||||
return 1;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -194,13 +185,15 @@ int Instance_options::fill_log_options()
|
|||||||
/* compute hostname and datadir for the instance */
|
/* compute hostname and datadir for the instance */
|
||||||
if (mysqld_datadir == NULL)
|
if (mysqld_datadir == NULL)
|
||||||
{
|
{
|
||||||
if (get_default_option(datadir,
|
if (get_default_option(datadir, MAX_LOG_OPTION_LENGTH, "--datadir"))
|
||||||
MAX_LOG_OPTION_LENGTH, "--datadir"))
|
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else /* below is safe, as --datadir always has a value */
|
else
|
||||||
strmake(datadir, strchr(mysqld_datadir, '=') + 1,
|
{
|
||||||
MAX_LOG_OPTION_LENGTH - 1);
|
/* below is safe, as --datadir always has a value */
|
||||||
|
strmake(datadir,
|
||||||
|
strchr(mysqld_datadir, '=') + 1, MAX_LOG_OPTION_LENGTH - 1);
|
||||||
|
}
|
||||||
|
|
||||||
if (gethostname(hostname,sizeof(hostname)-1) < 0)
|
if (gethostname(hostname,sizeof(hostname)-1) < 0)
|
||||||
strmov(hostname, "mysql");
|
strmov(hostname, "mysql");
|
||||||
@ -230,15 +223,12 @@ int Instance_options::fill_log_options()
|
|||||||
MY_UNPACK_FILENAME | MY_SAFE_PATH);
|
MY_UNPACK_FILENAME | MY_SAFE_PATH);
|
||||||
|
|
||||||
|
|
||||||
if ((MAX_LOG_OPTION_LENGTH - strlen(full_name)) >
|
if ((MAX_LOG_OPTION_LENGTH - strlen(full_name)) <=
|
||||||
strlen(log_files->default_suffix))
|
strlen(log_files->default_suffix))
|
||||||
{
|
|
||||||
strmov(full_name + strlen(full_name),
|
|
||||||
log_files->default_suffix);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
|
strmov(full_name + strlen(full_name), log_files->default_suffix);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If there were specified two identical logfiles options,
|
If there were specified two identical logfiles options,
|
||||||
we would loose some memory in MEM_ROOT here. However
|
we would loose some memory in MEM_ROOT here. However
|
||||||
@ -254,8 +244,7 @@ int Instance_options::fill_log_options()
|
|||||||
fn_format(full_name, argv[i] +log_files->length + 1,
|
fn_format(full_name, argv[i] +log_files->length + 1,
|
||||||
datadir, "", MY_UNPACK_FILENAME | MY_SAFE_PATH);
|
datadir, "", MY_UNPACK_FILENAME | MY_SAFE_PATH);
|
||||||
|
|
||||||
if (!(*(log_files->value)=
|
if (!(*(log_files->value)= strdup_root(&alloc, full_name)))
|
||||||
strdup_root(&alloc, full_name)))
|
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -263,10 +252,8 @@ int Instance_options::fill_log_options()
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -294,7 +281,7 @@ int Instance_options::get_pid_filename(char *result)
|
|||||||
const char *pid_file= mysqld_pid_file;
|
const char *pid_file= mysqld_pid_file;
|
||||||
char datadir[MAX_PATH_LEN];
|
char datadir[MAX_PATH_LEN];
|
||||||
|
|
||||||
if (!(mysqld_datadir))
|
if (mysqld_datadir == NULL)
|
||||||
{
|
{
|
||||||
/* we might get an error here if we have wrong path to the mysqld binary */
|
/* we might get an error here if we have wrong path to the mysqld binary */
|
||||||
if (get_default_option(datadir, sizeof(datadir), "--datadir"))
|
if (get_default_option(datadir, sizeof(datadir), "--datadir"))
|
||||||
@ -333,8 +320,7 @@ pid_t Instance_options::get_pid()
|
|||||||
my_fclose(pid_file_stream, MYF(0));
|
my_fclose(pid_file_stream, MYF(0));
|
||||||
return pid;
|
return pid;
|
||||||
}
|
}
|
||||||
else
|
return 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -343,11 +329,8 @@ int Instance_options::complete_initialization(const char *default_path,
|
|||||||
{
|
{
|
||||||
const char *tmp;
|
const char *tmp;
|
||||||
|
|
||||||
if (!(mysqld_path))
|
if (!mysqld_path && !(mysqld_path= strdup_root(&alloc, default_path)))
|
||||||
{
|
goto err;
|
||||||
if (!(mysqld_path= strdup_root(&alloc, default_path)))
|
|
||||||
goto err;
|
|
||||||
}
|
|
||||||
|
|
||||||
mysqld_path_len= strlen(mysqld_path);
|
mysqld_path_len= strlen(mysqld_path);
|
||||||
|
|
||||||
@ -395,9 +378,10 @@ int Instance_options::complete_initialization(const char *default_path,
|
|||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/* we need to reserve space for the final zero + possible default options */
|
/* we need to reserve space for the final zero + possible default options */
|
||||||
if (!(argv= (char**) alloc_root(&alloc, (options_array.elements + 1
|
if (!(argv= (char**)
|
||||||
+ MAX_NUMBER_OF_DEFAULT_OPTIONS) * sizeof(char*))))
|
alloc_root(&alloc, (options_array.elements + 1
|
||||||
goto err;
|
+ MAX_NUMBER_OF_DEFAULT_OPTIONS) * sizeof(char*))))
|
||||||
|
goto err;
|
||||||
|
|
||||||
/* the path must be first in the argv */
|
/* the path must be first in the argv */
|
||||||
if (add_to_argv(mysqld_path))
|
if (add_to_argv(mysqld_path))
|
||||||
@ -465,8 +449,8 @@ int Instance_options::add_option(const char* option)
|
|||||||
|
|
||||||
for (selected_options= options; selected_options->name; selected_options++)
|
for (selected_options= options; selected_options->name; selected_options++)
|
||||||
{
|
{
|
||||||
if (!strncmp(tmp, selected_options->name, selected_options->length))
|
if (strncmp(tmp, selected_options->name, selected_options->length) == 0)
|
||||||
switch(selected_options->type){
|
switch (selected_options->type) {
|
||||||
case SAVE_WHOLE_AND_ADD:
|
case SAVE_WHOLE_AND_ADD:
|
||||||
*(selected_options->value)= tmp;
|
*(selected_options->value)= tmp;
|
||||||
insert_dynamic(&options_array,(gptr) &tmp);
|
insert_dynamic(&options_array,(gptr) &tmp);
|
||||||
@ -496,7 +480,7 @@ int Instance_options::add_to_argv(const char* option)
|
|||||||
{
|
{
|
||||||
DBUG_ASSERT(filled_default_options < MAX_NUMBER_OF_DEFAULT_OPTIONS);
|
DBUG_ASSERT(filled_default_options < MAX_NUMBER_OF_DEFAULT_OPTIONS);
|
||||||
|
|
||||||
if ((option))
|
if (option)
|
||||||
argv[filled_default_options++]= (char*) option;
|
argv[filled_default_options++]= (char*) option;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -508,9 +492,7 @@ void Instance_options::print_argv()
|
|||||||
int i;
|
int i;
|
||||||
printf("printing out an instance %s argv:\n", instance_name);
|
printf("printing out an instance %s argv:\n", instance_name);
|
||||||
for (i=0; argv[i] != NULL; i++)
|
for (i=0; argv[i] != NULL; i++)
|
||||||
{
|
|
||||||
printf("argv: %s\n", argv[i]);
|
printf("argv: %s\n", argv[i]);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -526,10 +508,10 @@ int Instance_options::init(const char *instance_name_arg)
|
|||||||
init_alloc_root(&alloc, MEM_ROOT_BLOCK_SIZE, 0);
|
init_alloc_root(&alloc, MEM_ROOT_BLOCK_SIZE, 0);
|
||||||
|
|
||||||
if (my_init_dynamic_array(&options_array, sizeof(char*), 0, 32))
|
if (my_init_dynamic_array(&options_array, sizeof(char*), 0, 32))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (!(instance_name= strmake_root(&alloc, (char*) instance_name_arg,
|
if (!(instance_name= strmake_root(&alloc, (char*) instance_name_arg,
|
||||||
instance_name_len)))
|
instance_name_len)))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -39,17 +39,14 @@ static int create_pid_file(const char *pid_file_name)
|
|||||||
{
|
{
|
||||||
if (FILE *pid_file= my_fopen(pid_file_name,
|
if (FILE *pid_file= my_fopen(pid_file_name,
|
||||||
O_WRONLY | O_CREAT | O_BINARY, MYF(0)))
|
O_WRONLY | O_CREAT | O_BINARY, MYF(0)))
|
||||||
{
|
{
|
||||||
fprintf(pid_file, "%d\n", (int) getpid());
|
fprintf(pid_file, "%d\n", (int) getpid());
|
||||||
my_fclose(pid_file, MYF(0));
|
my_fclose(pid_file, MYF(0));
|
||||||
}
|
return 0;
|
||||||
else
|
}
|
||||||
{
|
log_error("can't create pid file %s: errno=%d, %s",
|
||||||
log_error("can't create pid file %s: errno=%d, %s",
|
pid_file_name, errno, strerror(errno));
|
||||||
pid_file_name, errno, strerror(errno));
|
return 1;
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef __WIN__
|
#ifndef __WIN__
|
||||||
@ -136,7 +133,7 @@ void manager(const Options &options)
|
|||||||
instance_map.guardian= &guardian_thread;
|
instance_map.guardian= &guardian_thread;
|
||||||
|
|
||||||
if (instance_map.init() || user_map.init())
|
if (instance_map.init() || user_map.init())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
if (instance_map.load())
|
if (instance_map.load())
|
||||||
@ -145,7 +142,7 @@ void manager(const Options &options)
|
|||||||
"the wrong config file options. For instance, missing mysqld "
|
"the wrong config file options. For instance, missing mysqld "
|
||||||
"binary. Aborting.");
|
"binary. Aborting.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user_map.load(options.password_file_name))
|
if (user_map.load(options.password_file_name))
|
||||||
return;
|
return;
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#include "protocol.h"
|
#include "protocol.h"
|
||||||
#include "messages.h"
|
#include "messages.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "factory.h"
|
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
|
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
@ -39,8 +38,6 @@
|
|||||||
#include <my_sys.h>
|
#include <my_sys.h>
|
||||||
|
|
||||||
|
|
||||||
Command *parse_command(Command_factory * factory, const char *text);
|
|
||||||
|
|
||||||
Mysql_connection_thread_args::Mysql_connection_thread_args(
|
Mysql_connection_thread_args::Mysql_connection_thread_args(
|
||||||
struct st_vio *vio_arg,
|
struct st_vio *vio_arg,
|
||||||
Thread_registry &thread_registry_arg,
|
Thread_registry &thread_registry_arg,
|
||||||
@ -336,8 +333,7 @@ int Mysql_connection_thread::dispatch_command(enum enum_server_command command,
|
|||||||
{
|
{
|
||||||
log_info("query for connection %d : ----\n%s\n-------------------------",
|
log_info("query for connection %d : ----\n%s\n-------------------------",
|
||||||
connection_id,packet);
|
connection_id,packet);
|
||||||
Command_factory commands_factory(instance_map);
|
if (Command *command= parse_command(&instance_map, packet))
|
||||||
if (Command *command= parse_command(&commands_factory, packet))
|
|
||||||
{
|
{
|
||||||
int res= 0;
|
int res= 0;
|
||||||
log_info("query for connection %d successefully parsed",connection_id);
|
log_info("query for connection %d successefully parsed",connection_id);
|
||||||
|
@ -244,8 +244,6 @@ C_MODE_END
|
|||||||
|
|
||||||
int Options::load(int argc, char **argv)
|
int Options::load(int argc, char **argv)
|
||||||
{
|
{
|
||||||
saved_argv= argv;
|
|
||||||
|
|
||||||
if (argc >= 2)
|
if (argc >= 2)
|
||||||
{
|
{
|
||||||
if (is_prefix(argv[1], "--defaults-file="))
|
if (is_prefix(argv[1], "--defaults-file="))
|
||||||
@ -267,6 +265,8 @@ int Options::load(int argc, char **argv)
|
|||||||
if (setup_windows_defaults())
|
if (setup_windows_defaults())
|
||||||
goto err;
|
goto err;
|
||||||
#endif
|
#endif
|
||||||
|
/* load_defaults will reset saved_argv with a new allocated list */
|
||||||
|
saved_argv= argv;
|
||||||
|
|
||||||
/* config-file options are prepended to command-line ones */
|
/* config-file options are prepended to command-line ones */
|
||||||
load_defaults(config_file, default_groups, &argc,
|
load_defaults(config_file, default_groups, &argc,
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||||
|
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "factory.h"
|
#include "commands.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ int get_text_id(const char **text, uint *word_len, const char **id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Command *parse_command(Command_factory *factory, const char *text)
|
Command *parse_command(Instance_map *map, const char *text)
|
||||||
{
|
{
|
||||||
uint word_len;
|
uint word_len;
|
||||||
const char *instance_name;
|
const char *instance_name;
|
||||||
@ -147,10 +147,10 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
if (word_len)
|
if (word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
|
|
||||||
command= (tok1 == TOK_START) ? (Command *)
|
if (tok1 == TOK_START)
|
||||||
factory->new_Start_instance(instance_name, instance_name_len):
|
command= new Start_instance(map, instance_name, instance_name_len);
|
||||||
(Command *)
|
else
|
||||||
factory->new_Stop_instance(instance_name, instance_name_len);
|
command= new Stop_instance(map, instance_name, instance_name_len);
|
||||||
break;
|
break;
|
||||||
case TOK_FLUSH:
|
case TOK_FLUSH:
|
||||||
if (shift_token(&text, &word_len) != TOK_INSTANCES)
|
if (shift_token(&text, &word_len) != TOK_INSTANCES)
|
||||||
@ -160,7 +160,7 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
if (word_len)
|
if (word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
|
|
||||||
command= factory->new_Flush_instances();
|
command= new Flush_instances(map);
|
||||||
break;
|
break;
|
||||||
case TOK_UNSET:
|
case TOK_UNSET:
|
||||||
skip= true;
|
skip= true;
|
||||||
@ -201,13 +201,13 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
|
|
||||||
if (skip)
|
if (skip)
|
||||||
command= factory->new_Unset_option(instance_name, instance_name_len,
|
command= new Unset_option(map, instance_name, instance_name_len,
|
||||||
option, option_len, option_value,
|
option, option_len, option_value,
|
||||||
option_value_len);
|
option_value_len);
|
||||||
else
|
else
|
||||||
command= factory->new_Set_option(instance_name, instance_name_len,
|
command= new Set_option(map, instance_name, instance_name_len,
|
||||||
option, option_len, option_value,
|
option, option_len, option_value,
|
||||||
option_value_len);
|
option_value_len);
|
||||||
break;
|
break;
|
||||||
case TOK_SHOW:
|
case TOK_SHOW:
|
||||||
switch (shift_token(&text, &word_len)) {
|
switch (shift_token(&text, &word_len)) {
|
||||||
@ -215,7 +215,7 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
get_word(&text, &word_len);
|
get_word(&text, &word_len);
|
||||||
if (word_len)
|
if (word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
command= factory->new_Show_instances();
|
command= new Show_instances(map);
|
||||||
break;
|
break;
|
||||||
case TOK_INSTANCE:
|
case TOK_INSTANCE:
|
||||||
switch (Token tok2= shift_token(&text, &word_len)) {
|
switch (Token tok2= shift_token(&text, &word_len)) {
|
||||||
@ -227,12 +227,12 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
get_word(&text, &word_len);
|
get_word(&text, &word_len);
|
||||||
if (word_len)
|
if (word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
command= (tok2 == TOK_STATUS) ? (Command *)
|
if (tok2 == TOK_STATUS)
|
||||||
factory->new_Show_instance_status(instance_name,
|
command= new Show_instance_status(map, instance_name,
|
||||||
instance_name_len):
|
instance_name_len);
|
||||||
(Command *)
|
else
|
||||||
factory->new_Show_instance_options(instance_name,
|
command= new Show_instance_options(map, instance_name,
|
||||||
instance_name_len);
|
instance_name_len);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
@ -252,9 +252,8 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
/* check that this is the end of the command */
|
/* check that this is the end of the command */
|
||||||
if (word_len)
|
if (word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
command= (Command *)
|
command= new Show_instance_log_files(map, instance_name,
|
||||||
factory->new_Show_instance_log_files(instance_name,
|
instance_name_len);
|
||||||
instance_name_len);
|
|
||||||
break;
|
break;
|
||||||
case TOK_ERROR:
|
case TOK_ERROR:
|
||||||
case TOK_GENERAL:
|
case TOK_GENERAL:
|
||||||
@ -288,22 +287,16 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
get_word(&text, &word_len);
|
get_word(&text, &word_len);
|
||||||
if (!word_len)
|
if (!word_len)
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
command= (Command *)
|
command= new Show_instance_log(map, instance_name,
|
||||||
factory->new_Show_instance_log(instance_name,
|
instance_name_len, log_type,
|
||||||
instance_name_len,
|
log_size, text);
|
||||||
log_type,
|
|
||||||
log_size,
|
|
||||||
text);
|
|
||||||
|
|
||||||
//get_text_id(&text, &log_size_len, &log_size);
|
//get_text_id(&text, &log_size_len, &log_size);
|
||||||
break;
|
break;
|
||||||
case '\0':
|
case '\0':
|
||||||
command= (Command *)
|
command= new Show_instance_log(map, instance_name,
|
||||||
factory->new_Show_instance_log(instance_name,
|
instance_name_len, log_type,
|
||||||
instance_name_len,
|
log_size, NULL);
|
||||||
log_type,
|
|
||||||
log_size,
|
|
||||||
NULL);
|
|
||||||
break; /* this is ok */
|
break; /* this is ok */
|
||||||
default:
|
default:
|
||||||
goto syntax_error;
|
goto syntax_error;
|
||||||
@ -324,7 +317,7 @@ Command *parse_command(Command_factory *factory, const char *text)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
syntax_error:
|
syntax_error:
|
||||||
command= factory->new_Syntax_error();
|
command= new Syntax_error();
|
||||||
}
|
}
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <my_sys.h>
|
#include <my_sys.h>
|
||||||
|
|
||||||
class Command;
|
class Command;
|
||||||
class Command_factory;
|
class Instance_map;
|
||||||
|
|
||||||
enum Log_type
|
enum Log_type
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ enum Log_type
|
|||||||
IM_LOG_SLOW
|
IM_LOG_SLOW
|
||||||
};
|
};
|
||||||
|
|
||||||
Command *parse_command(Command_factory *factory, const char *text);
|
Command *parse_command(Instance_map *instance_map, const char *text);
|
||||||
|
|
||||||
/* define kinds of the word seek method */
|
/* define kinds of the word seek method */
|
||||||
enum { ALPHANUM= 1, NONSPACE };
|
enum { ALPHANUM= 1, NONSPACE };
|
||||||
@ -62,5 +62,4 @@ inline void get_word(const char **text, uint *word_len,
|
|||||||
*word_len= word_end - *text;
|
*word_len= word_end - *text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_H */
|
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PARSE_H */
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
if flag is GET_VALUE. Return the rest of the parsed string otherwise.
|
if flag is GET_VALUE. Return the rest of the parsed string otherwise.
|
||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
0 - ok
|
0 - ok, the word has been found
|
||||||
1 - error occured
|
1 - error occured or the word is not found
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int parse_output_and_get_value(const char *command, const char *word,
|
int parse_output_and_get_value(const char *command, const char *word,
|
||||||
@ -56,9 +56,15 @@ int parse_output_and_get_value(const char *command, const char *word,
|
|||||||
/* should be enough to store the string from the output */
|
/* should be enough to store the string from the output */
|
||||||
enum { MAX_LINE_LEN= 512 };
|
enum { MAX_LINE_LEN= 512 };
|
||||||
char linebuf[MAX_LINE_LEN];
|
char linebuf[MAX_LINE_LEN];
|
||||||
|
int rc= 1;
|
||||||
|
|
||||||
wordlen= strlen(word);
|
wordlen= strlen(word);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Successful return of popen does not tell us whether the command has been
|
||||||
|
executed successfully: if the command was not found, we'll get EOF
|
||||||
|
when reading the output buffer below.
|
||||||
|
*/
|
||||||
if (!(output= popen(command, "r")))
|
if (!(output= popen(command, "r")))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
@ -95,10 +101,9 @@ int parse_output_and_get_value(const char *command, const char *word,
|
|||||||
strmake(result, linep, found_word_len);
|
strmake(result, linep, found_word_len);
|
||||||
}
|
}
|
||||||
else /* currently there are only two options */
|
else /* currently there are only two options */
|
||||||
{
|
|
||||||
strmake(result, linep, input_buffer_len - 1);
|
strmake(result, linep, input_buffer_len - 1);
|
||||||
}
|
rc= 0;
|
||||||
goto pclose;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,9 +111,7 @@ pclose:
|
|||||||
/* we are not interested in the termination status */
|
/* we are not interested in the termination status */
|
||||||
pclose(output);
|
pclose(output);
|
||||||
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
err:
|
err:
|
||||||
return 1;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user