• unknown's avatar
    Truncations patch: a post-review fix. · 1046278e
    unknown authored
    
    include/mysql.h:
      Adding an option for data truncations feature.
    libmysql/libmysql.c:
      No 'smart' behaviour now for data truncations: they are always
      reported, unless switched off with 
      mysql_options(mysql, MYSQL_REPORT_DATA_TRUNCATION, (my_bool*) &(option=1));
    sql-common/client.c:
      Add support for report-data-truncation variable in my.cnf
    tests/client_test.c:
      A test for MYSQL_REPORT_DATA_TRUNCATION option.
    1046278e
mysql.h 30.2 KB