• unknown's avatar
    Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · b06eb4d8
    unknown authored
    Fixed chsize() problem on windows
    Extend default timeout on windows clients to 1 year (to avoid timeout problems)
    
    
    include/mysql.h:
      Added client timeouts (for TCP/IP)
    libmysql/libmysql.c:
      Added client timeouts (for TCP/IP)
    mysql-test/r/create.result:
      More tests for CREATE TABLE IF NOT EXISTS ... SELECT
    mysql-test/t/create.test:
      More tests for CREATE TABLE IF NOT EXISTS ... SELECT
    mysys/my_chsize.c:
      Fix for windows
    sql/handler.h:
      Remove not used field 'if_not_exists'
      Ordered fields to be more optimized for new CPU's
      Added field 'table_existed'
    sql/slave.cc:
      Cleanup temporary tables when slave ends
    sql/sql_class.h:
      Remove not used 'do_not_drop' field
    sql/sql_insert.cc:
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
    sql/sql_table.cc:
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
    b06eb4d8
create.test 4.73 KB