• unknown's avatar
    Data truncation reporting implementation (libmysql) + post review · 7845f99a
    unknown authored
    fixes. Still to do: 
    -  deploy my_strtoll10 in limbysql.c
    - add mysql_options option to switch MYSQL_DATA_TRUNCATED on and off.
    
    
    include/my_time.h:
      More calls are shared between client and server (libmysql now performs
      more intelligent date->number and number->date conversions).
      TODO: rename those which are not starting with 'my_'
    include/mysql.h:
      MYSQL_BIND:
      - more elaborated comment
      - some of the ex-private members were given public names - 
        it's sometimes convenient to set bind->error to &bind->error_value.
        However Monty questions the idea, so it should be given
        more thought in future.
      - added new members to support data truncation.
      Added new return value of mysql_stmt_fetch, MYSQL_DATA_TRUNCATED.
    libmysql/libmysql.c:
      - added support for data truncation during fetch
      - implementation for is_binary_compatible: now conversion functions
        are used less frequently
      - we now use number_to_datetime and TIME_to...
    7845f99a
mysql.h 30.1 KB