• unknown's avatar
    Fix for Bug#4030 "Client side conversion string -> date type doesn't · 04f3836f
    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
       (prepa...
    04f3836f
structs.h 7.16 KB