1. 24 Jun, 2004 40 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 10507e0c
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      
      10507e0c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9aaadae2
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      9aaadae2
    • unknown's avatar
      Merge · eadea645
      unknown authored
      eadea645
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · a64fbb9b
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_1851/mysql-4.1
      
      
      client/mysqldump.c:
        Auto merged
      a64fbb9b
    • unknown's avatar
      fixed bug #1851 "mysqldump does not return · 76965427
      unknown authored
      an error code if the output device is filled"
      
      
      76965427
    • unknown's avatar
      Previous commit didn't make it (tree fix): I'd forgotten semicolon. · 1f65c22c
      unknown authored
      
      Makefile.am:
        Previous commit didn't make it: I'd forgotten semicolon.
      1f65c22c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9db32516
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      9db32516
    • unknown's avatar
      Fix of broken 4.1 tree: · 717be2d9
      unknown authored
      Initially my_time.c was added to sql/ link_sources target only.
      As it turns out this target is sometimes not called; instead of it
      make calls one hard-coded in top-level Makefile.am.
      Now adding linking of my_time.c to the top-level Makefile.am
      to (hopefully) cover all cases.
      
      
      Makefile.am:
        Fix of broken 4.1 tree: 
        - my_time.c was added to link_sources target.
      717be2d9
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 292116f5
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      
      292116f5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 979129f6
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      979129f6
    • unknown's avatar
      94cbb692
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · ca4beea9
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      VC++Files/libmysqld/libmysqld.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      ca4beea9
    • unknown's avatar
      aafb8605
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-4.1 · 6d05b183
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-innodb-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      6d05b183
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 4195f96c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-innodb-4.1
      
      
      4195f96c
    • unknown's avatar
      - Windows compile fix: added missing file tztime.cpp to the mysqld · 7800c8fe
      unknown authored
         project file
      
      
      VC++Files/sql/mysqld.dsp:
         - added missing file tztime.cpp to the mysqld project file
      7800c8fe
    • unknown's avatar
      - fixed test_frm_bug test to work with increased number of columns in · 57ee2443
      unknown authored
      result of SHOW TABLE STATUS
      
      
      BitKeeper/etc/ignore:
        added libmysqld/my_time.c
      57ee2443
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · fe24f112
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-innodb-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      fe24f112
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · b9c2e185
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      b9c2e185
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1b23339b
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      
      1b23339b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 8d0f2687
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-4030
      
      
      sql/field.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/tztime.cc:
        Auto merged
      8d0f2687
    • unknown's avatar
      Fix for Bug#4030 "Client side conversion string -> date type doesn't · 9dde4188
      unknown authored
      work (prepared statements)" and after-review fixes:
      - str_to_TIME renamed to str_to_datetime to pair with str_to_time
      - functions str_to_time and str_to_TIME moved to sql-common
      - send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
        MYSQL_TIME_DATETIME types of user input buffers.
      - few more comments in the client library
      - a test case added.
      
      
      VC++Files/libmysql/libmysql.dsp:
        new file: my_time.c
      VC++Files/libmysqld/libmysqld.dsp:
        new file: my_time.c
      VC++Files/sql/mysqld.dsp:
        new file: my_time.c
      include/Makefile.am:
        - mysql_time.h added to the list of installed client library headers
      include/mysql.h:
        - declarations for MYSQL_TIME and enum_mysql_timestamp_type moved to 
        mysql_time.h, which is in shared use of client library and mysys.
      libmysql/Makefile.shared:
        - my_time.lo added to the list of libmysql objects
      libmysql/libmysql.c:
        Fix for bug#4030 "Client side conversion string -> date type doesn't work
         (prepared statements)" and cleanup.
        - added case labels for TIME/DATE/DATETIME types to send_data_str
        - comments for read_binary_{date,time,datetime}, fetch_result_*, fetch_results.
      libmysqld/Makefile.am:
        - my_time.c added
      sql-common/Makefile.am:
        - my_time.c added to the list of files included into source distribution.
      sql/Makefile.am:
        my_time.c added to the list of mysqld sources.
      sql/field.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/item.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/item_timefunc.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/mysql_priv.h:
        - added typedefs for TIME and timestamp_type
        - removed declarations for str_to_time and str_to_TIME (now this functions
          reside in mysys)
      sql/mysqld.cc:
        - log_10_int moved to mysys (it's used by str_to_TIME and str_to_time)
        - enum values TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
          MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
      sql/set_var.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/set_var.h:
        - fixed timestamp_type usage to be compatible with typedef.
      sql/sql_prepare.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
          MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
        - embedded library implementation of set_param_{time,date,datetime} is
        much simplier now, as MYSQL_TIME is the same as TIME.
      sql/sql_yacc.yy:
        - s/\<TIMESTAMP_/MYSQL_TIMESTAMP/gc
      sql/structs.h:
        - declarations for TIME and timestamp_type replaced with typedefs
        - str_to_datetime arguments moved to mysys headers
      sql/time.cc:
        - str_to_time and str_to_TIME moved to mysys
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} as these names are now
          exported to client.
        - str_to_TIME renamed to str_to_datetime to pair with str_to_time
        - str_to_TIME_with_warn renamed accordingly
      sql/tztime.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      tests/client_test.c:
        - a test case for Bug#4030 "Client side conversion string -> date type 
        doesn't work (prepared statements)"
      9dde4188
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 73d9c9b1
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      
      sql/table.cc:
        Auto merged
      73d9c9b1
    • unknown's avatar
      "Version" column in SHOW TABLE STATUS. · 5ce95c0a
      unknown authored
      5ce95c0a
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 43271e22
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      
      43271e22
    • unknown's avatar
      Merge mskold@build.mysql.com:/home/bk/mysql-4.1 · 9293805a
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
      
      
      sql/handler.cc:
        Auto merged
      9293805a
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 5b1b5f63
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-1717
      
      
      5b1b5f63
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · eff49bb3
      unknown authored
      into poseidon.bredbandsbolaget.se:/home/tomas/mysql-4.1-clean
      
      
      eff49bb3
    • unknown's avatar
      added posr switch to mysql-test-run · 4a67f27d
      unknown authored
      4a67f27d
    • unknown's avatar
      Cosmetic fixes · 4c450c52
      unknown authored
      4c450c52
    • unknown's avatar
      Enabling the --innodb-safe-binlog option in code. If you wish to disable it, · 7d999002
      unknown authored
      you just need to change this line of mysqld.cc:
      #if MYSQL_VERSION_ID >= 40103
      to, say,
      #if MYSQL_VERSION_ID > 40103
      I am noticing a failure of bdb.test; I believe this is not related to the
      code I added yesterday and today, but I am checking. In any case I push this
      changeset as it cannot by itself bring more mess that I *may* (or not)
      already have brought with previous pushes.
      
      
      sql/handler.cc:
        if innodb_active_trans is true then innobase_tid too.
      sql/mysqld.cc:
        only a warning if --innodb-safe-binlog without InnoDB (it's true this situation will not hurt).
        Enabling the --innodb-safe-binlog option.
      7d999002
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 69224754
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-root
      
      
      sql/sql_yacc.yy:
        Auto merged
      69224754
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 200545c5
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4198
      
      
      200545c5
    • unknown's avatar
      added order by · 8fade235
      unknown authored
      8fade235
    • unknown's avatar
      1045f2c3
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · b6b406f2
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      b6b406f2
    • unknown's avatar
      - Windows compile fix: added srv/srv0que.c to the innobase project · d132f0e8
      unknown authored
         file and sql/tztime.cpp to the libmysqld project file
      
      
      VC++Files/innobase/innobase.dsp:
         - added missing file srv/srv0que.c to the project file
      VC++Files/libmysqld/libmysqld.dsp:
         - added missing file sql/tztime.cpp to the project file
      d132f0e8
    • unknown's avatar
      fixes for solaris build issues with ndb · 0eef1ae3
      unknown authored
      (the previous commit was in "non" fresh clone :-()
      
      
      ndb/src/kernel/SimBlockList.cpp:
        fixes for solaris build issues
      ndb/src/ndbapi/Ndb.cpp:
        fixes for solaris build issues
      ndb/src/ndbapi/Ndbinit.cpp:
        fixes for solaris build issues
      0eef1ae3
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 147922dc
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-1717
      
      
      147922dc
    • unknown's avatar
      Final part of WL#1717 "innodb/binlog consistency". This is to resolve · 3198ea57
      unknown authored
      a limitation of yesterday's implementation:
      if there was an unfinished transaction (COMMIT not typed), and some MyISAM tables were
      then updated, and then mysqld crashes, then at restart the server would use the too old
      binlog offset known by InnoDB to cut the binlog, thus cutting the successful MyISAM
      updates. We fix this by reporting the binlog offset into InnoDB even if InnoDB was not
      affected at all by the update.
      But the feature is still disabled until we decide if it can go into 4.1.3.
      
      
      sql/handler.cc:
        How we report the binlog offset into InnoDB:
        - if the update affected InnoDB, it will happen naturally
        - otherwise (for example MyISAM update not in an InnoDB transaction), we explicitely report it.
      sql/handler.h:
        removing warning (noticed this)
      sql/log.cc:
        clearer messages when truncating binlog.
      sql/mysql_priv.h:
        need to see opt_innodb_safe_binlog in handler.cc
      sql/mysqld.cc:
        No innodb-safe-binlog if no InnoDB.
        Updating message as now we work with MyISAM.
      3198ea57