mariadb/libmysql
unknown 27eda71204 Proposed fix for Bug#4026 "Microseconds part of TIME/DATETIME types
is broken (prepared statements)": fixed date handling in many places 
of prepared statements code.


libmysql/libmysql.c:
  Fix for Bug#4026:
  - now buffer_length is defined for any buffer type. Network buffer 
    preallocation cleaned up.
  - added constants for maximum buffer sizes necessary for MYSQL_TYPE_DATE,
    MYSQL_TYPE_TIME, MYSQL_TYPE_DATETIME types.
  - TIME/DATETIME packing/unpacking functions fixed 
  - now result set metadata is always updated from fields sent to COM_EXECUTE.
    This is necessary to make 'SELECT ?' queries work without conversions.
sql/item.cc:
  - added implementatoin of Item_param::get_date
sql/item.h:
  - added enum_field_types Item_param::param_type. First step for proper
    handling of placeholders.
  - added get_date() implementation to prevent date -> string -> date 
    conversions when MYSQL_TYPE_DATE/DATETIME parameter is used in temporal 
    context.
sql/protocol.cc:
  Fix for Bug#4026:
  - PACKET_BUFFET_EXTRA_ALLOC -> PACKET_BUFFER_EXTRA_ALLOC.
    The define itself was moved to .cc as it's used only in protocol.cc
  - fixed Protocol_prep::store_time() call.
sql/protocol.h:
  - PACKET_BUFFER_EXTRA_ALLOC moved to protocol.cc
sql/sql_prepare.cc:
  Fix for Bug#4026:
  - MYSQL_TYPE_TIME/DATETIME handling fixed.
  - added initialization for Item_param::param_type in 
    setup_one_conversion_function
tests/client_test.c:
  Test case for Bug#4026
2004-06-09 03:21:50 +04:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
acinclude.m4 Import changeset 2000-07-31 21:29:14 +02:00
client_settings.h Fix VC++ compiler error (function redifinition) for embedded server 2004-05-10 20:55:52 -03:00
conf_to_src.c Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
dll.c - Code cleanup: replaced C++-style comments with the proper syntax for 2003-09-24 08:35:02 +02:00
errmsg.c merge with 4.0 (to get compiler error fixes for innodb) 2004-03-19 15:17:56 +02:00
get_password.c fixed bug #1174 2003-09-02 12:09:27 -04:00
libmysql.c Proposed fix for Bug#4026 "Microseconds part of TIME/DATETIME types 2004-06-09 03:21:50 +04:00
libmysql.def mysql_stmt_field_count() 2004-06-06 02:27:05 +04:00
Makefile.am merge with 4.0.15 2003-08-29 13:44:35 +03:00
Makefile.shared Unicode Collation Algorithm subset implementation 2004-03-24 16:16:08 +04:00
manager.c merge with 4.0 to get security fixes and latest bug fixes 2004-02-20 17:43:02 +02:00