1. 15 Feb, 2003 2 commits
  2. 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
  3. 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
  4. 12 Feb, 2003 15 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
    • unknown's avatar
      18994cb0
    • unknown's avatar
      Fixed a bug in mysqld_safe, when it earlier could have removed · c5040ddd
      unknown authored
      a socket from another, still living MySQL server.
      
      
      c5040ddd
    • unknown's avatar
      Fixed a bug in mysqld_safe, when it earlier could have removed · 1e1f12ef
      unknown authored
      a socket from another, still living MySQL server.
      
      
      1e1f12ef
    • unknown's avatar
      rt_index.c: · f3282731
      unknown authored
        Bug fix
      
      
      myisam/rt_index.c:
        Bug fix
      f3282731
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 11359938
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      11359938
    • unknown's avatar
      sh syntax is like that :) · 9b9fd891
      unknown authored
      9b9fd891
    • unknown's avatar
      backported MERGE+MAX bugfix from 4.0 · cad553de
      unknown authored
      cad553de
    • unknown's avatar
      (please merge with 4.1 and upwards) · c2b73901
      unknown authored
       - updated logo to current one
      
      
      Docs/Images/mysql-logo.gif:
         - updated logo to current one
      c2b73901
    • unknown's avatar
      Moved template.texi from mysql-4.0 tree to mysqldoc tree. · bb8366d2
      unknown authored
      
      BitKeeper/deleted/.del-template.texi~e93e39114ba9bcf7:
        Delete: Docs/template.texi
      bb8366d2
    • unknown's avatar
      Moved mysql.de.texi from mysql-4.0 tree to mysqldoc tree. · af751714
      unknown authored
      Replaced mysql.de.texi in mysql-4.0 tree with dummy placeholder.
      Moved world.sql sample database to mysqldoc tree.
      
      
      BitKeeper/deleted/.del-world.sql~6603b5c62c5bac53:
        Delete: Docs/world.sql
      Docs/manual.de.texi:
        Moved mysql.de.texi from mysql-4.0 tree to mysqldoc tree.
        Replaced mysql.de.texi in mysql-4.0 tree with dummy placeholder.
      af751714
  5. 11 Feb, 2003 6 commits
    • unknown's avatar
      backporting Peter's fix for better RAND() initialization from 4.0 · 02132f55
      unknown authored
      
      sql/sql_class.cc:
        backporting Peter's fix for better RAND() initialization from 4.0
        to see what it does try
        perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @A=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
        before and after the fix
      02132f55
    • unknown's avatar
      gis.txt: · 4b04c84f
      unknown authored
        Updates according to last changes
      
      
      Docs/gis.txt:
        Updates according to last changes
      4b04c84f
    • unknown's avatar
      lex.h: · b98903d2
      unknown authored
        Typo fix
      
      
      sql/lex.h:
        Typo fix
      b98903d2
    • unknown's avatar
      lex.h: · 1ee95348
      unknown authored
        New synonyms for spatial functions for
        compatibility with http://www.opengis.org/testing/sfsql/sqltsch.sql
      
      
      sql/lex.h:
        New synonyms for spatial functions for
        compatibility with http://www.opengis.org/testing/sfsql/sqltsch.sql
      1ee95348
    • unknown's avatar
      For more OpenGIS compatibility, these symbols are now synomims to GEOMETRY type: · 10b7dea8
      unknown authored
      POINT, LINESTRING, POLYGON, MULTIPOINT, MULTIPOLYGON, MULTILINESTRING
      
      
      10b7dea8
    • unknown's avatar
      (please merge into 4.1 and onwards) · b16e8d58
      unknown authored
      - re-added missing pre- and post(un)install scripts to server subpackage
      - added config file /etc/my.cnf to the file list (just for completeness)
      - make sure to create the datadir with 755 permissions
      
      
      support-files/mysql.spec.sh:
        - re-added missing pre- and post(un)install scripts to server subpackage
        - added config file /etc/my.cnf to the file list (just for completeness)
        - make sure to create the datadir with 755 permissions
      b16e8d58
  6. 10 Feb, 2003 7 commits
    • unknown's avatar
      merge · 363fd89b
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-configure.in~ac795a92c8fe049c:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/t/count_distinct.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      363fd89b
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
    • unknown's avatar
    • unknown's avatar
      Better fix for count(distinct) bug · 03865c5f
      unknown authored
      
      include/my_sys.h:
        Remove compiler warning
      mysql-test/mysql-test-run.sh:
        Don't examine log files when you run with --extern
      03865c5f
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql · 1846f732
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      Build-tools/Do-compile:
        Auto merged
      bdb/dist/configure.in:
        Auto merged
      scripts/mysqlhotcopy.sh:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      1846f732
    • unknown's avatar
      556bb7bb
    • unknown's avatar
      count(distint) on an empty table crash fixed · 7910884c
      unknown authored
      
      BitKeeper/etc/ignore:
        Added support-files/MacOSX/Description.plist support-files/MacOSX/Info.plist to the ignore list
      7910884c
  7. 09 Feb, 2003 1 commit