1. 05 Mar, 2003 1 commit
    • unknown's avatar
      Improved error handling regarding SPs (with info like names etc in the output). · f74b36a2
      unknown authored
      Disabled queries in FUNCTIONs.
      
      
      include/mysqld_error.h:
        New error message for queries in FUNCTIONs.
      mysql-test/t/sp.test:
        Moved error tests to sp-error.test.
      sql/share/czech/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/danish/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/dutch/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/english/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/estonian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/french/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/german/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/greek/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/hungarian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/italian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/japanese/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/korean/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/norwegian-ny/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/norwegian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/polish/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/portuguese/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/romanian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/russian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/serbian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/slovak/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/spanish/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/swedish/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/share/ukrainian/errmsg.txt:
        New error message for queries in FUNCTIONs.
        Improved most of the SP error messages with added info.
      sql/sp_head.cc:
        Added debug output to sp_instr_jump::execute(). (Moved from sp_head.h)
      sql/sp_head.h:
        Moved sp_instr_jump::execute() to sp_head.cc.
      sql/sql_lex.h:
        Added SQLCOM_CREATE_SPFUNCTION (for improved error handling).
      sql/sql_parse.cc:
        Improved error handling regarding SPs (adding info like names etc in output).
      sql/sql_yacc.yy:
        Improved error handling regarding SPs (adding info like names etc in output).
        Disabled queries in FUNCTIONS (since it can't work anyway).
      f74b36a2
  2. 03 Mar, 2003 1 commit
    • unknown's avatar
      New FUNCTION documentation, and a minor test case modification. · f519382d
      unknown authored
      
      Docs/sp-imp-spec.txt:
        Updated docs about stored FUNCTIONs.
      Docs/sp-implemented.txt:
        Updated docs about stored FUNCTIONs.
      mysql-test/r/sp.result:
        Changed the ifac test example into a combination of a procedure and a function.
      mysql-test/t/sp.test:
        Changed the ifac test example into a combination of a procedure and a function.
      f519382d
  3. 02 Mar, 2003 1 commit
    • unknown's avatar
      Made FUNCTIONs work in insert and select queries, as well as nested function invocations. · 8a9422bd
      unknown authored
      Had to add a cahing mechanism which is in parts an ugly kludge, but it will be
      reworked once the real SP caching is implemented.
      
      
      mysql-test/r/sp.result:
        New function tests.
      mysql-test/t/sp.test:
        New function tests.
      sql/sp.cc:
        Big rehack of mysql.proc table usage strategy and adding a function cache
        mechanism, since we need to read used functions from the db before doing anything else
        when executing a query. (This cache is temporary and will probably be replaced by
        the real thing later.)
      sql/sp.h:
        New (temporary) FUNCTION caching functions.
      sql/sp_head.cc:
        Fixed some bugs in the function and procedure execution.
        Disabled some data collections that's not used at the moment.
      sql/sp_head.h:
        Fixed some bugs in the function and procedure execution.
        Disabled some data collections that's not used at the moment.
      sql/sql_class.h:
        Added SP function cache list to thd.
      sql/sql_lex.cc:
        Added SP function name list to lex.
      sql/sql_lex.h:
        Added SP function name list to lex.
      sql/sql_parse.cc:
        Read used FUNCTIONs from db and cache them in thd before doing anything else
        in a query execution. (This is necessary since we can't open mysql.proc during
        query execution.)
      sql/sql_yacc.yy:
        Collect used function names in lex.
      8a9422bd
  4. 28 Feb, 2003 1 commit
    • unknown's avatar
      Closing tables during SP execution the proper way. · 1ff79b61
      unknown authored
      
      mysql-test/r/show_check.result:
        proc table now shows up in different places.
      mysql-test/r/status.result:
        proc table now shows up in different places.
      sql/sp.cc:
        Fixed closing of tables.
      sql/sp_head.cc:
        Close tables after each sub statement.
      sql/sql_class.cc:
        Removed closing of tables in various send_eof() methods again.
      1ff79b61
  5. 27 Feb, 2003 1 commit
    • unknown's avatar
      A small step forward. Fixed a few bugs and made string type functions work, · aecc6a21
      unknown authored
      but still strange interferences between multiple function invocations...
      
      
      mysql-test/r/sp.result:
        New FUNCTION tests.
      mysql-test/t/sp.test:
        New FUNCTION tests.
      sql/item_func.cc:
        Fixed field_type bug; now string functions work too.
        Removed unecessary function which was added in a state of confusion.
      sql/item_func.h:
        Fixed field_type bug; now string functions work too.
        Removed unecessary function which was added in a state of confusion.
      sql/sp_head.cc:
        Fixed string type bug, and set the right charset.
      aecc6a21
  6. 26 Feb, 2003 1 commit
    • unknown's avatar
      Made stored FUNCTION invokation work almost always. Still buggy and unstable, and · 76b037dc
      unknown authored
      various known problems, but good enough for a checkpoint commit.
      
      
      mysql-test/r/sp.result:
        New tests for invoking simple FUNCTIONs.
      mysql-test/t/sp.test:
        New tests for invoking simple FUNCTIONs.
      sql/item_func.cc:
        New Item_func_sp for stored FUNCTIONs.
      sql/item_func.h:
        New Item_func_sp for stored FUNCTIONs.
      sql/sp.cc:
        Close mysql.proc table earlier so recursive find_function calls work.
        Added temporary sp_function_exists() function for checking without parsing.
      sql/sp.h:
        Added temporary sp_function_exists() function for checking without parsing.
      sql/sp_head.cc:
        New code for executing a FUNCTION. (And reworked some of the old code in the process.)
      sql/sp_head.h:
        New code for executing a FUNCTION.
      sql/sp_rcontext.h:
        Added result slot for FUNCTIONs.
      sql/sql_lex.cc:
        Added check for stored FUNCTION, analogous to UDFs.
      sql/sql_parse.cc:
        sp_head::execute was renamed into execute_procedure.
      sql/sql_yacc.yy:
        Added parsing of stored FUNCTION invocation and code generation for RETURN statement.
      76b037dc
  7. 21 Feb, 2003 1 commit
    • unknown's avatar
      Most of the groundwork for sprint task 729 (implement FUNCTIONs). · 0521fb54
      unknown authored
      Expanded the mysql.proc table, reworked the find/create/drop functions
      completely, added new functions for FUNCTIONs (lotta functions here :),
      got rid of some unnecessary use of Item_strings while at it. Extended
      the parser correspondingly, and fiddled around a bit to make SP FUNCTIONs
      coexist with UDFs.
      Can now CREATE and DROP FUNCTIONs. Invoking yet to come...
      
      
      Docs/sp-implemented.txt:
        Updated with info about CASCADE/RESTICT and METHOD, and some answers to questions.
      include/mysqld_error.h:
        New error message for misuse of RETURN.
      mysql-test/install_test_db.sh:
        Added enum field to mysql.proc to distinguish between FUNCTION and PROCEDURE.
      mysql-test/r/sp.result:
        New test for creating and dropping FUNCTIONS.
      mysql-test/t/sp.test:
        New test for creating and dropping FUNCTIONS.
      scripts/mysql_install_db.sh:
        Added enum field to mysql.proc to distinguish between FUNCTION and PROCEDURE.
      sql/lex.h:
        De-UDFed some symbol names, as they are now used for SPs as well.
        Added RETURN_SYM.
      sql/share/czech/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/danish/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/dutch/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/english/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/estonian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/french/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/german/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/greek/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/hungarian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/italian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/japanese/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/korean/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/norwegian-ny/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/norwegian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/polish/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/portuguese/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/romanian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/russian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/serbian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/slovak/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/spanish/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/swedish/errmsg.txt:
        New error message for misuse of RETURN.
      sql/share/ukrainian/errmsg.txt:
        New error message for misuse of RETURN.
      sql/sp.cc:
        Major rehack to accomodate FUNCTIONs, and to make it easier to add
        future in-memory cache of prepared SPs.
      sql/sp.h:
        Major rehack to accomodate FUNCTIONs, and to make it easier to add
        future in-memory cache of prepared SPs.
      sql/sp_head.cc:
        Now creates FUNCTIONs too. (And got rid of some unnecessary Item_string use.)
      sql/sp_head.h:
        Now creates FUNCTIONs too. (And got rid of some unnecessary Item_string use.)
      sql/sql_lex.h:
        New stored FUNCTION commands.
      sql/sql_parse.cc:
        Added FUNCTION support ("drop" merged with the old UDF code), and made some
        additional changes for better error handling (following the sp.cc rehacking).
      sql/sql_yacc.yy:
        Some former UDF specific symbols renamed.
        Added CREATE FUNCTION parsing.
        DROP FUNCTION had to be partly merged with the old UDF code, because of the similar
        syntax.
        RETURN statement added, but still a no-op.
      0521fb54
  8. 19 Feb, 2003 1 commit
    • unknown's avatar
      Fixed SELECT INTO OUTFILE/DUMPFILE and stored procedures, and extended and · 3c88ebdc
      unknown authored
      reorganized the sp.test file.
      
      
      mysql-test/r/sp.result:
        New results from the reorganized sp.test file.
      mysql-test/t/sp.test:
        Reorganized the tests, and added a few new ones. ("fac" and more "select into")
      sql/sql_class.cc:
        Unlock tables and set thd->lock=0 in select_export::send_eof() and
        select_dump::send_eof().
        This fixes a problem with an assert() in lock_tables(), and made
        SELECT ... INTO OUTFILE and ... INTO DUMPFILE work in stored procedures.
      3c88ebdc
  9. 18 Feb, 2003 5 commits
    • unknown's avatar
      Post-merge fixes (adapting new SP code to 4.1 changes). · 344c639b
      unknown authored
      
      sql/sql_class.cc:
        Unlock tables after a SELECT INTO variables, or an assert() in lock_tables() fails.
        Note: This might be a problem with other SELECT variants too.
      sql/sql_yacc.yy:
        Make all bison versions work (hopefully).
      344c639b
    • unknown's avatar
      Merging 4.1 into 5.0 · 3de0f8d3
      unknown authored
      
      BitKeeper/etc/gone:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysql.cc:
        Auto merged
      configure.in:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/r/connect.result:
        Auto merged
      mysql-test/r/insert.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/insert.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/item.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      3de0f8d3
    • unknown's avatar
      Added new files to libmysqld too. · d6303970
      unknown authored
      d6303970
    • unknown's avatar
      Made it work with bison 1.875. They've changed the "parse error" string into · 49e6a2d0
      unknown authored
      "syntax error".
      
      
      sql/mysqld.cc:
        Test for "syntax error" in yyerror() as well.
        They've changed the "parse error" string into "syntax error" in bison 1.875.
      49e6a2d0
    • unknown's avatar
      bug fixes · ac2f4744
      unknown authored
      
      myisam/rt_index.c:
        bug fix
      myisam/rt_key.c:
        bug fix
      myisam/rt_test.c:
        bug fix
      ac2f4744
  10. 17 Feb, 2003 5 commits
    • unknown's avatar
      bug fixes · e1d91737
      unknown authored
      
      myisam/rt_key.c:
        bug fix
      myisam/rt_split.c:
        bug fix
      e1d91737
    • unknown's avatar
      sql_table.cc, field.cc: · 2b141612
      unknown authored
        Bug fix
      opt_range.cc:
        Buf fix
      
      
      sql/field.cc:
        Bug fix
      sql/opt_range.cc:
        Buf fix
      sql/sql_table.cc:
        Bug fix
      2b141612
    • unknown's avatar
      Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1 · b3982368
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.bdb
      
      
      b3982368
    • unknown's avatar
      Merge with 4.0.11 tree to get latest bug fixes · e793dfe9
      unknown authored
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/libmysqld.c:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/rpl000001.result:
        Auto merged
      mysql-test/r/rpl000004.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysys/my_init.c:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/structs.h:
        Auto merged
      Makefile.am:
        Merge with 4.0.11
      mysql-test/mysql-test-run.sh:
        Merge with 4.0.11
      mysql-test/r/rpl_log.result:
        Use local version (needs to be updated)
      mysql-test/t/type_blob.test:
        Merge with 4.0.11
      sql/mysqld.cc:
        Merge with 4.0.11
      sql/protocol.cc:
        Use local version
      e793dfe9
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  11. 16 Feb, 2003 5 commits
  12. 15 Feb, 2003 3 commits
  13. 14 Feb, 2003 3 commits
    • unknown's avatar
      fixed memory leak in procedure with subselects · ab2eeffb
      unknown authored
      ab2eeffb
    • unknown's avatar
    • unknown's avatar
      Fixed problem when connecting to user without a password. · 5a12dff3
      unknown authored
      Fixed problem with LIKE and BINARY
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables
      client/mysqltest.c:
        Better error messages
      libmysql/libmysql.c:
        Simple code cleanup
        Simplified connect() and change_user() by using sub function
      libmysqld/lib_sql.cc:
        Ensure that new fields in MYSQL_FIELD structure is used
      mysql-test/r/rpl_user_variables.result:
        Cleaned up test
      mysql-test/r/type_blob.result:
        New test
      mysql-test/t/rpl_user_variables.test:
        Cleaned up test
      mysql-test/t/type_blob.test:
        New test
      sql/item.cc:
        Fixed that Item_ref returns the right character set
      sql/item_cmpfunc.cc:
        Fixed problem with LIKE and BINARY
      sql/item_func.cc:
        Don't store end ASCII(0) for string user variables
        (Made some other code easier)
      sql/log_event.cc:
        Don't store end ASCII(0) for string user variables.
        Fixed comment style
        Some optimizations
      sql/log_event.h:
        Optimized type
      sql/mini_client.cc:
        Indentation changes
      sql/mysql_priv.h:
        Made is_update_query extern
      sql/protocol.cc:
        Simple code cleanup
      sql/sql_acl.cc:
        Code cleanup
        Fixed problem when connecting to user without a password.
      sql/sql_lex.h:
        Fixed problem with uninitialized memory
      sql/sql_parse.cc:
        Fixed problem with user without passwords
        Fixed some connect problems.
      sql/time.cc:
        removed reference to uninitialized memory
      5a12dff3
  14. 13 Feb, 2003 6 commits
    • unknown's avatar
      Merge serg.mysql.com:/usr/home/serg/Abk/mysql-4.0 · b80049a5
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      BUILD/FINISH.sh:
        Auto merged
      client/mysqldump.c:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      BitKeeper/deleted/.del-world.sql~6603b5c62c5bac53:
        Auto merged
      b80049a5
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 944df6e9
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      944df6e9
    • unknown's avatar
      item_strfunc.cc: · efcf8b57
      unknown authored
        Fix
      
      
      sql/item_strfunc.cc:
        Fix
      efcf8b57
    • unknown's avatar
      item_strfunc.cc: · 7f1d3ea0
      unknown authored
        Fix
      
      
      sql/item_strfunc.cc:
        Fix
      7f1d3ea0
    • unknown's avatar
      fill_help_tables.sh: · 8ae81458
      unknown authored
        Typo fix
        ,
      
      
      scripts/fill_help_tables.sh:
        Typo fix
        ,
      8ae81458
    • unknown's avatar
      sql_yacc.yy: · e1173be0
      unknown authored
        Compilation failure fix
      
      
      sql/sql_yacc.yy:
        Compilation failure fix
      e1173be0
  15. 12 Feb, 2003 5 commits
    • unknown's avatar
    • unknown's avatar
      Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 · 86ec3c8f
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      86ec3c8f
    • unknown's avatar
      Updated configure script to handle 1 digit numbers in MySQL version · 0a10f78f
      unknown authored
      Fixed a few typos from last patch
      
      
      configure.in:
        Updated script to handle 1 digit numbers in MySQL version
      libmysqld/libmysqld.c:
        Added mysql_get_server_version
      sql/sql_parse.cc:
        Fixed typo in last patch
      sql/sql_yacc.yy:
        Fixed typo in last patch
      0a10f78f
    • unknown's avatar
      merge with 3.23 (use local version) · 502afc1b
      unknown authored
      502afc1b
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · fcb61f59
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      fcb61f59