• unknown's avatar
    Fixes for #3371, #3372, #3374, #3375, #3376 · 86009849
    unknown authored
    
    libmysql/libmysql.c:
      code to fix #3772
      counting of field->max_length moved to mysql_store_stmt_result so
      it will work in libmysqld also
    libmysqld/lib_sql.cc:
      to fix #3771 and #3775
      stmt->affected_rows specifying added
      code getting default values changed so it will add terminating /0 to
      values
    sql/sql_parse.cc:
      to fix #3773
      silly mistake here :\
    sql/sql_prepare.cc:
      to fix #3774 and #3776
      special function for datetime values in embedded server added
      unsigned flag now specified for values in embedded server
    tests/client_test.c:
      this test fails if privilege-checking pars are disabled
      (it's the default for libmysqld)
    86009849
sql_prepare.cc 44.2 KB