1. 02 May, 2003 1 commit
    • unknown's avatar
      SCRUM · aef87c00
      unknown authored
      common parts of libmysql.c and sql/mini_client.cc moved to sql-common/client.c
      names of functions now are same in both cases
      
      
      libmysql/libmysql.c:
        many parts moved to sql-common/client.c
      libmysqld/Makefile.am:
        superfluous files removed
      sql/mini_client.cc:
        most of the file moved to sql-common/client.c
      sql/mini_client.h:
        mc_ prefixes were deleted
      sql/repl_failsafe.cc:
        mc_ prefixes removed
      sql/slave.cc:
        _mc prefixes removed
      aef87c00
  2. 30 Apr, 2003 1 commit
    • unknown's avatar
      Fixed bug in Item_func_compress::val_str() on MacOS X (bigendian); the length · 2048b162
      unknown authored
      was not properly stored in the buffer.
      
      
      sql/item_strfunc.cc:
        Made it work on MacOS X (bigendian) where int4store is a macro that expands
        the arguments several times.
        It's possible this should be done differently, like not side-stepping the
        String methods the way it's done here, or fixing String::c_ptr(), but this
        simple fix was the quickest way.
      2048b162
  3. 28 Apr, 2003 3 commits
    • unknown's avatar
      Documentation fixed according bug 185 fixing patch (1.1551 03/04/23 00: · 75093e53
      unknown authored
      
      Docs/internals.texi:
        Documentation fixed according bug 185 fixing patch (1.1551 03/04/23 00:01:19)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      75093e53
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 988abb54
      unknown authored
      into deer.mysql.r18.ru:/home/hf/work/mysql-4.1.cursor
      
      
      BitKeeper/etc/ignore:
        auto-union
      988abb54
    • unknown's avatar
      SCRUM · f7e7eb65
      unknown authored
      Protocol_cursor task
      net_field_length definitions trimmed with Monty's suggestions
      
      
      BitKeeper/etc/ignore:
        Added sql/pack.c to the ignore list
      include/my_global.h:
        my_ulonglong definition moved here from mysql.h
      include/mysql.h:
        we define my_ulonglong here only if no global.h included
      include/mysql_com.h:
        net_field_length_ll definition is here now
      sql/mini_client.cc:
        unnecessary cast removed
      f7e7eb65
  4. 26 Apr, 2003 3 commits
    • unknown's avatar
      Post-merge fix. · e640bb7a
      unknown authored
      e640bb7a
    • unknown's avatar
      merge fix · 6d6791eb
      unknown authored
      
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      6d6791eb
    • unknown's avatar
      Making a better fix for double released pointers and safe · 6568e104
      unknown authored
      TMP_TABLE_PARAM.
      This involved moving things around in include files.
      All tests, including the ones with Valgrind passed.
      
      6568e104
  5. 25 Apr, 2003 1 commit
  6. 24 Apr, 2003 7 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2cecc924
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      2cecc924
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · d346c678
      unknown authored
      into hundin.mysql.fi:/home/igor/dev/mysql-4.1
      
      
      mysql-test/r/ctype_collate.result:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      d346c678
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 84965b53
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/COMPRESS_UNCOMPRESS/mysql-4.1
      
      84965b53
    • unknown's avatar
      added '.' to end of compressed string · 8c88a561
      unknown authored
      8c88a561
    • unknown's avatar
      Replication: new code to not modify in-memory log positions until the COMMIT · 86199673
      unknown authored
      is executed, even if the transaction spans on >=2 relay logs (bug #53).
      New variable relay_log_purge =0|1
      New test to verify bug #53
      
      
      sql/log.cc:
        Now we purge a relay log only when we are sure we won't need it,
        i.e. we have executed the final query (if autocommit=1) or the COMMIT.
      sql/log_event.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/mysql_priv.h:
        new option relay_log_purge (the user can now decide himself
        if he wants his relay logs to be automatically purged or not,
        we don't make unsafe guesses like before)
      sql/mysqld.cc:
        new option --innodb (replaces --skip-innodb).
        Useful for the test suite : we have skip-innodb in mysql-test-run,
        but we can ('-opt.info' file) choose to start the server with
        InnoDB for this test only.
        New option --bdb
      sql/repl_failsafe.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/set_var.cc:
        new variable relay_log_purge
      sql/slave.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
        Now we purge a relay log only when we are sure we won't need it,
        i.e. we have executed the final query (if autocommit=1) or the COMMIT
      sql/slave.h:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/sql_class.h:
        prototypes change
      sql/sql_parse.cc:
        removed thd argument (was not used in the function's body)
      sql/sql_repl.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
        Turn relay_log_purge silently off when someone does CHANGE
        MASTER TO RELAY_LOG_*
      86199673
    • unknown's avatar
      func_gconcat.result, ctype_many.result: · c84b1069
      unknown authored
         Added the MAX_LENGTH_FOR_SORT_DATA option
      ctype_collate.result:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      
      
      mysql-test/r/ctype_collate.result:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      mysql-test/r/ctype_many.result:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      mysql-test/r/func_gconcat.result:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      c84b1069
    • unknown's avatar
      Many files: · 4d46f983
      unknown authored
         Added the MAX_LENGTH_FOR_SORT_DATA option
      filesort.cc:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      
      
      sql/filesort.cc:
        Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/mysqld.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/opt_range.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/records.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/set_var.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_base.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_class.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_delete.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_select.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_sort.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_table.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/sql_update.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/structs.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/table.h:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      sql/uniques.cc:
         Added the MAX_LENGTH_FOR_SORT_DATA option
      4d46f983
  7. 23 Apr, 2003 7 commits
    • unknown's avatar
      SCRUM · 924a36ec
      unknown authored
      Protocol_cursor class and sql-common/ directory
      
      
      Makefile.am:
        pack.c added to linked sources
      include/mysql.h:
        net_field_length_ll declaration added
      include/mysql_com.h:
        net_field_length declaration added
      libmysql/Makefile.am:
        sql-common files symlinked
      libmysql/Makefile.shared:
        pack.lo target added
      libmysql/libmysql.c:
        net_field_length removed from here
      sql/Makefile.am:
        pack.c added to the sources
      sql/mini_client.cc:
        mc_net_field_length functions replaced with net_field_length
      sql/protocol.h:
        Protocol_cursor class added
      924a36ec
    • unknown's avatar
      set_var.cc: · 43ea2a18
      unknown authored
        We don't need this code any more. It was used to initialize CONVERT structure in 4.0.
      
      
      sql/set_var.cc:
        We don't need this code any more. It was used to initialize CONVERT structure in 4.0.
      43ea2a18
    • unknown's avatar
      Variable names have been renamed: · 97e45234
      unknown authored
        client_collation -> collation_client
        result_collation -> collation_results
        connection_collation -> collation_connection
      
      
      BitKeeper/etc/ignore:
        Added client/ssl_test to the ignore list
      97e45234
    • unknown's avatar
      Fix bug#68: ssl_test.c does not compile/work · 87a8335e
      unknown authored
      87a8335e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · afb1d915
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-order-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      afb1d915
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · c51206c9
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-in-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      c51206c9
    • unknown's avatar
      Added --delimiter option to mysql · 266a7b9e
      unknown authored
      
      client/mysql.cc:
        Added --delimiter option to mysql. Statement terminator
        can be a character (';' by default) or a string.
        
        Code clean up
      266a7b9e
  8. 22 Apr, 2003 6 commits
  9. 21 Apr, 2003 2 commits
    • unknown's avatar
      Fix for a bug record #307. · 200293a9
      unknown authored
      Very nasty bug.
      It was caused by double free()-ing memory of join->select and 
      join->quick. 
      
      I was able to pinpoint it only after using Valgrind.
      
      Plus better fix for bug with TMP_TABLE_PARAM.
      
      Plus new constructor for SELECT_LEX.
      
      
      mysql-test/r/innodb.result:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      mysql-test/t/innodb.test:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      sql/sql_lex.cc:
        Adding a usefull constructor
      sql/sql_lex.h:
        Adding a usefull constructor which additionally required few more
        definitions.
      sql/sql_select.cc:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      sql/sql_union.cc:
        Fixing bug #307.
        
        Also, a better fix for TMP_TABLE_PARAM bug.
        
        Also, use of the new constructor for SELECT_LEX.
      200293a9
    • unknown's avatar
      my_vsnprintf.c: · b6819462
      unknown authored
        The last character was not printed into out string
      
      
      strings/my_vsnprintf.c:
        The last character was not printed into out string
      b6819462
  10. 20 Apr, 2003 1 commit
  11. 17 Apr, 2003 3 commits
  12. 16 Apr, 2003 5 commits