# This test should work in embedded server after we fix mysqltest--sourceinclude/not_embedded.inc###################### mysql_comments.test ############################## ## Testing of comments handling by the command line client (mysql) ## ## Creation: ## 2007-10-29 akopytov Implemented this test as a part of fixes for ## bug #26215 and bug #11230 ## ########################################################################### Bug #11230: Keeping comments when storing stored procedures## See the content of mysql_comments.sql# Set the test database to a known state before running the tests.--disable_warningsdroptableifexistst1;dropfunctionifexistsfoofct;dropprocedureifexistsempty;dropprocedureifexistsfoosp;dropprocedureifexistsnicesp;droptriggerifexistst1_empty;droptriggerifexistst1_bi;--enable_warnings# Test without comments--echo"Pass 1 : --disable-comments"--exec$MYSQL--disable-commentstest2>&1<"./t/mysql_comments.sql"# Test with comments--echo"Pass 2 : --enable-comments"--exec$MYSQL--enable-commentstest2>&1<"./t/mysql_comments.sql"--echoEndof5.0tests