- 24 Jun, 2004 1 commit
-
-
unknown authored
work (prepared statements)" and after-review fixes: - str_to_TIME renamed to str_to_datetime to pair with str_to_time - functions str_to_time and str_to_TIME moved to sql-common - send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE, MYSQL_TIME_DATETIME types of user input buffers. - few more comments in the client library - a test case added. VC++Files/libmysql/libmysql.dsp: new file: my_time.c VC++Files/libmysqld/libmysqld.dsp: new file: my_time.c VC++Files/sql/mysqld.dsp: new file: my_time.c include/Makefile.am: - mysql_time.h added to the list of installed client library headers include/mysql.h: - declarations for MYSQL_TIME and enum_mysql_timestamp_type moved to mysql_time.h, which is in shared use of client library and mysys. libmysql/Makefile.shared: - my_time.lo added to the list of libmysql objects libmysql/libmysql.c: Fix for bug#4030 "Client side conversion string -> date type doesn't work (prepared statements)" and cleanup. - added case labels for TIME/DATE/DATETIME types to send_data_str - comments for read_binary_{date,time,datetime}, fetch_result_*, fetch_results. libmysqld/Makefile.am: - my_time.c added sql-common/Makefile.am: - my_time.c added to the list of files included into source distribution. sql/Makefile.am: my_time.c added to the list of mysqld sources. sql/field.cc: - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} sql/item.cc: - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} sql/item_timefunc.cc: - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} sql/mysql_priv.h: - added typedefs for TIME and timestamp_type - removed declarations for str_to_time and str_to_TIME (now this functions reside in mysys) sql/mysqld.cc: - log_10_int moved to mysys (it's used by str_to_TIME and str_to_time) - enum values TIMESTAMP_{TIME,DATE,DATETIME} were renamed to MYSQL_TIMESTAMP_{TIME,DATE,DATETIME} sql/set_var.cc: - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} sql/set_var.h: - fixed timestamp_type usage to be compatible with typedef. sql/sql_prepare.cc: - TIMESTAMP_{TIME,DATE,DATETIME} were renamed to MYSQL_TIMESTAMP_{TIME,DATE,DATETIME} - embedded library implementation of set_param_{time,date,datetime} is much simplier now, as MYSQL_TIME is the same as TIME. sql/sql_yacc.yy: - s/\<TIMESTAMP_/MYSQL_TIMESTAMP/gc sql/structs.h: - declarations for TIME and timestamp_type replaced with typedefs - str_to_datetime arguments moved to mysys headers sql/time.cc: - str_to_time and str_to_TIME moved to mysys - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} as these names are now exported to client. - str_to_TIME renamed to str_to_datetime to pair with str_to_time - str_to_TIME_with_warn renamed accordingly sql/tztime.cc: - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} tests/client_test.c: - a test case for Bug#4030 "Client side conversion string -> date type doesn't work (prepared statements)"
-
- 23 Jun, 2004 4 commits
-
-
unknown authored
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-am
-
unknown authored
sql/Makefile.am: Final solution to mysql_tzinfo_to_sql problem: We can't put it in extra/ directory since it depends on sql/sql_yacc.h and sql/ directory depends on extra/comp_err. So this utility have to stay in sql/ for a while. BitKeeper/etc/ignore: Added sql/mysql_tzinfo_to_sql_tztime.cc to the ignore list
-
unknown authored
into mysql.com:/home/pem/work/mysql-4.1
-
- 22 Jun, 2004 25 commits
-
-
unknown authored
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-am
-
unknown authored
mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made compatible with older automake versions. extra/Makefile.am: mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made compatible with older automake versions. sql/Makefile.am: mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made compatible with older automake versions. BitKeeper/etc/ignore: Added extra/tztime.cc extra/mysql_tzinfo_to_sql to the ignore list
-
unknown authored
test suite fixed. libmysql/libmysql.c: - fixed a bug in protocol -> host integer conversions in send_data_str tests/client_test.c: Fixes to make client_test run on 64 bit Sun: - strlen() doesn't accept NULL input - Sun is high byte first, so we can't store bind 32-bit variables to 16-bit to MYSQL_TYPE_SHORT/TINY
-
unknown authored
mysql-test/r/ps.result: New test case for BUG#3486. mysql-test/t/ps.test: New test case for BUG#3486. sql/item_create.cc: Create an Item_func_found_rows() at parse time, not an Item_int. sql/item_func.cc: Added val_int() method for new Item_func_found_rows class. sql/item_func.h: New class Item_func_found_rows for FOUND_ROWS() function. sql/sql_select.cc: Don't reset thd->limit_found_rows too early, or FOUND_ROWS() wont work.
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4200 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/sql_yacc.yy: Auto merged
-
unknown authored
Now ESCAPE in LIKE will accept not only string literal but constant delimited expression. mysql-test/r/func_like.result: Added test for bug# 4200 "Parse error on LIKE ESCAPE with parameter binding" mysql-test/t/func_like.test: Added test for bug# 4200 "Parse error on LIKE ESCAPE with parameter binding" sql/item_cmpfunc.cc: Added support for accepting of constant delimited expression as ESCAPE argument to Item_func_like. sql/item_cmpfunc.h: Now ESCAPE clause in LIKE will accept not only string literal but constant delimited expression. Thus added member to Item_func_like for storing Item corresponding to this expression and changed third argument of cons to be Item* instead of char*. sql/sql_help.cc: Item_func_like now accepts Item* as third argument. sql/sql_yacc.yy: Now ESCAPE clause of LIKE accepts not only string literal but constant delimited expression (the most important case is prepared statement parameter of course).
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-regexp-4.1 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-insert-4.1
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1
-
unknown authored
./configure --with-charset=binary is now possible. configure.in: --with-charset-binary is now possible.
-
unknown authored
mysql-test/r/subselect.result: Auto merged mysql-test/t/subselect.test: SCCS merged
-
unknown authored
-
unknown authored
mysql-test/r/subselect.result: prepare statement test added mysql-test/t/subselect.test: prepare statement test added
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4102
-
unknown authored
sql/item.h: Auto merged
-
unknown authored
sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged mysql-test/r/subselect.result: SCCS merged mysql-test/t/subselect.test: SCCS merged
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-cleanup
-
unknown authored
on many platforms (the other option was providing portable setenv() replacement). sql/Makefile.am: Removed building of test_time since it was not needed/used really and caused problems on many platforms.
-
unknown authored
Drop t2 in the beginning. , mysql-test/r/auto_increment.result: Drop t2 in the beginning. , mysql-test/t/auto_increment.test: Drop t2 in the beginning. ,
-
unknown authored
statement": check that statement is not null when accessing it's name. tests/client_test.c: A test case for bug#4236
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4198 sql/sql_select.cc: Auto merged
-
unknown authored
into mysql.com:/dbdata/psergey/mysql-4.1-root
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
requested Build-tools/Do-compile: - explicitely enable libedit, when readline is not requested
-
- 21 Jun, 2004 10 commits
-
-
unknown authored
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-tz-cleanup
-
unknown authored
Now we are using time zone abbreviations in debug builds or in utlities only. Tried to remove warnings generated by compiler by using more proper types for members of time zone describing structures. Removed unused variables. Fixed test_time to be able to build on FreeBSD without much problems. Portability fix: resolved ambiguity of abs() function.
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1-874
-
unknown authored
(enum_shutdown_level is going to replace enum killed_state in 5.0). VC++Files/winmysqladmin/mysql_com.h: putting in place the 2 types of KILL of 5.0 include/mysql_com.h: putting in place the two types of KILL of 5.0
-
unknown authored
-
unknown authored
sql/item_func.cc: Unused variable 'thd' removed. sql/item_subselect.cc: Unused variable 'type' removed. sql/slave.cc: Unused variable 'return_val' removed. sql/sql_derived.cc: Unused variable 'is_subsel' removed. sql/sql_parse.cc: Unused variables 'pstr' and 'create_info' removed. sql/sql_prepare.cc: Unused variable 'res' removed. sql/time.cc: Unused variable 'str_begin' removed.
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1-874
-
unknown authored
"if (thd->killed > thd->killable)", if we simply do thd->killed= level;
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.bnew
-