• unknown's avatar
    Fix for #1430 · e50b19a0
    unknown authored
    there was an error about sendind prepared parameters to the server
    
    
    libmysqld/lib_sql.cc:
      parameter's length added as a parameter
    sql/ha_berkeley.cc:
      these lines sometimes crashes in embedded library
      so i #ifdef-ed it
    sql/item.h:
      add the data_len parameter in the embedded case
    sql/sql_prepare.cc:
      i added macroses to make headers of store_param_xxx functions
      they have different number of parameters in standalone an embedded servers
      also get_param_length now is implemented differently in embedded server
    e50b19a0
ha_berkeley.cc 70.3 KB