- 21 Jun, 2005 1 commit
-
-
unknown authored
fixed view fields names check and generation (changed after Trudy review: underlying field names treat as user set ones) (BUG#7448) mysql-test/r/view.result: test of view field names generation mysql-test/t/view.test: test of view field names generation sql/item.cc: add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view sql/item.h: add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view layout fixed sql/item_func.cc: line made less then 80 columns sql/sql_view.cc: fixed checking of duplicates of view fields: 1) case-insensitive system charset/collation is used now to compare view filds 2) in case if the duplicate field name was of an auto-generated one, we create another unique name for it sql/sql_yacc.yy: add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view
-
- 19 Jun, 2005 4 commits
- 18 Jun, 2005 1 commit
-
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
-
- 17 Jun, 2005 15 commits
-
-
unknown authored
into xiphis.org:/usr/home/antony/work2/p3-bug6877.3 sql/mysql_priv.h: Auto merged sql/table.cc: Auto merged
-
unknown authored
Implement new SQL mode - NO_ENGINE_SUBSTITUTION mysql-test/r/sql_mode.result: Test for bug 6877 mysql-test/t/sql_mode.test: Test for bug 6877 sql/handler.cc: change to ha_checktype() sql/handler.h: change to ha_checktype() sql/mysql_priv.h: new sql mode NO_ENGINE_SUBSTITUTION change to args for get_table_type() and create_frm() sql/mysqld.cc: new sql mode NO_ENGINE_SUBSTITUTION sql/set_var.cc: change to ha_checktype() args sql/sql_delete.cc: change to get_table_type() args sql/sql_rename.cc: change to get_table_type() args sql/sql_table.cc: move common code to check_engine() change to ha_checktype(), get_table_type() args sql/table.cc: change to ha_checktype(), create_frm(), get_table_type() args sql/unireg.cc: change to create_frm() args
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
-
unknown authored
into mysql.com:/opt/local/work/mysql-5.0-10736 sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_yacc.yy: Auto merged
-
unknown authored
libmysql/libmysql.c: Rename. libmysqld/lib_sql.cc: Rename. sql/item_cmpfunc.cc: Use proper method to check for stmt prepare, only_prepare is removed. sql/mysql_priv.h: Remove an obsolete define. Rename mysql_stmt_free to mysql_stmt_close. sql/sql_class.h: Remove THD::only_prepare. Rename. sql/sql_lex.cc: Rename COM_PREPARE -> COM_STMT_PREPARE sql/sql_parse.cc: Rename. sql/sql_prepare.cc: Rename. sql/sql_yacc.yy: Rename. tests/mysql_client_test.c: Rename.
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0 sql/item.h: Auto merged sql/item_func.cc: Auto merged
-
unknown authored
mysql-test/r/view.result: using sum(distinct ), cast(... as decimal) & avg(distinct ) in views mysql-test/t/view.test: using sum(distinct ), cast(... as decimal) & avg(distinct ) in views sql/item.h: Add a comment for Item::print sql/item_func.cc: Use functype(), not func_name() for item equvalence detection sql/item_func.h: Missed function typoes added Add a comment for Item_func::func_name() style fix sql/item_strfunc.cc: Use functype(), not func_name() for item equvalence detection sql/item_strfunc.h: Add missing func_name and func_type sql/item_sum.cc: Item_sum func_name report beggining of function till first argument sql/item_sum.h: Item_sum func_name report beggining of function till first argument sql/item_timefunc.cc: Use functype(), not func_name() for item equvalence detection sql/item_timefunc.h: Add missing func_name and func_type sql/item_uniq.h: Add missing func_name
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/sql_select.cc: Auto merged
-
unknown authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.0
-
unknown authored
-
unknown authored
-
unknown authored
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.0 sql/sql_select.cc: Auto merged
-
unknown authored
fixed 64bit bug in lenght store/retrive in cache sql/sql_select.cc: fixed 64bit bug in lenght store/retrive in cache
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/sql_class.h: Auto merged sql/sql_prepare.cc: Auto merged
-
unknown authored
Add one more step to the patching instructions. lexyy.c: Fix a Win64 type conversion warning innobase/pars/lexyy.c: Fix a Win64 type conversion warning innobase/pars/pars0lex.l: Add one more step to the patching instructions.
-
- 16 Jun, 2005 19 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
Bug#8367 "low log doesn't gives complete information about prepared statements" Implement status variables for prepared statements commands (a port of the patch by Andrey Hristov). See details in comments to the changed files. No test case as there is no way to test slow log/general log in mysqltest. mysql-test/r/ps_grant.result: Now execute is logged with tag 'Execute' (changed result file). sql/mysql_priv.h: - remove obsolete macro. - add declarations for new status variables. - export function log_slow_statement, which now is used in sql_prepare.cc sql/mysqld.cc: Add status variables for prepared statements API: now we record mysql_stmt_close, mysql_stmt_reset, mysql_stmt_prepare, mysql_stmt_execute mysql_stmt_send_long_data, PREPARE, EXECUTE, DEALLOCATE. sql/sql_parse.cc: - account DEALLOCATE prepare as a Com_stmt_close command (close of a prepared statement). sql/sql_prepare.cc: - fix a bug in SQL syntax for prepared statements + logging: if we use --log and EXECUTE stmt USING @no_such_variable;, the server crashed because the old code assumed that the variable returned by get_var_with_binlog is never NULL. - account statistics for mysql_stmt_{prepare,execute,close,reset,send_long_data} in Com_stmt_{prepare,execute,close,reset,send_long_data} correspondingly. - log slow statements into the slow log early, when thd->query points to a valid (with expanded placeholder values) query. The previous version was logging it in sql_parse, when thd->query is empty. Prevent the server from logging the statement twice by setting thd->enable_slow_log= FALSE. - now in case of EXECUTE stmt in SQL syntax for prepared statements the general log gets two queries, e.g. Query EXECUTE stmt USING @A, @b, @c Execute INSERT INTO t1 VALUES (1, 2, 3) This makes the behavior consistent with PREPARE command, which also logs the statement twice.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged ndb/test/ndbapi/testBlobs.cpp: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
ALTER, OPTIMIZE and ANALYZE statements". In 4.1 we disabled logging of slow admin statements. The fix adds an option to enable it back. No test case (slow log is not tested in the test suite), but tested manually. + post-review fixes (word police mainly). sql/mysql_priv.h: - declaration for a new option sql/mysqld.cc: Add server option '--log-slow-admin-statements' to log slow optimize/alter/etc statements to the slow log if it's enabled. Add warnings that this option works only if the slow log is open. sql/sql_class.h: Rename 'thd->slow_command' to thd->enable_slow_log (negates the meaning of this variable, and so resolves the need to negate value opt_log_slow_admin_statements when setting it). sql/sql_parse.cc: Implement optional logging of administrative statements in the slow log.
-
unknown authored
Correction after merge of fix for bug #8614. mysql-test/t/group_by.test: Correction after merge of fix for bug #8614. mysql-test/r/group_by.result: Correction after merge of fix for bug #8614.
-
unknown authored
mysql-test/t/rpl_ddl.test: Auto merged ndb/test/ndbapi/testBlobs.cpp: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
-
unknown authored
Added a test case for bug #8614. sql_select.cc: Fixed bug #8614. SELECT DISTINCT ... GROUP BY 'const' must be equivalent to SELECT ... GROUP BY 'const'. sql/sql_select.cc: Fixed bug #8614. SELECT DISTINCT ... GROUP BY 'const' must be equivalent to SELECT ... GROUP BY 'const'. mysql-test/t/group_by.test: Added a test case for bug #8614. mysql-test/r/group_by.result: Added a test case for bug #8614.
-
unknown authored
mysql-test/mysql-test-run.sh: Auto merged
-
unknown authored
into mysql.com:/opt/local/work/mysql-5.0-root
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
-
unknown authored
into three.local.lan:/home/matthias/Arbeit/mysql-5.0/src-B
-
unknown authored
into mysql.com:/home/timka/mysql/src/5.0-dbg
-
unknown authored
Exclude the query that generates warning from PS tests, due to extra warning under PS.
-
unknown authored
Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication client/mysqltest.c: WL#2067: Added if(...) construct to mysqltest mysql-test/include/rpl_stmt_seq.inc: Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication mysql-test/r/rpl_ddl.result: Removed SHOW BINLOG EVENTS in test case for ps-protocol and row-based replication mysql-test/t/rpl_ddl.test: Comment
-
unknown authored
into three.local.lan:/home/matthias/Arbeit/mysql-5.0/src-B
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 ndb/src/common/mgmcommon/ConfigRetriever.cpp: Auto merged
-
unknown authored
into mysql.com:/M50/mysql-5.0
-