1. 05 Mar, 2004 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6e652fd3
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-rename
      
      6e652fd3
    • unknown's avatar
      New call mysql_stmt_init() introduced. · 700893cc
      unknown authored
      Renames:
      mysql_bind_param      -> mysql_stmt_bind_param
      mysql_bind_result     -> mysql_stmt_bind_result
      mysql_execute         -> mysql_stmt_execute
      mysql_fetch           -> mysql_stmt_fetch
      mysql_fetch_column    -> mysql_stmt_fetch_column
      mysql_get_metadata    -> mysql_stmt_result_metadata
      mysql_param_count     -> mysql_stmt_param_count
      mysql_param_result    -> mysql_stmt_param_metadata
      mysql_prepare         -> mysql_stmt_prepare
      mysql_send_long_data  -> mysql_stmt_send_long_data
      
      client_test.c cleaned up from memory leaks
      
      
      include/mysql.h:
        New call mysql_stmt_init() introduced.
        Renames:
        mysql_bind_param      -> mysql_stmt_bind_param
        mysql_bind_result     -> mysql_stmt_bind_result
        mysql_execute         -> mysql_stmt_execute
        mysql_fetch           -> mysql_stmt_fetch
        mysql_fetch_column    -> mysql_stmt_fetch_column
        mysql_get_metadata    -> mysql_stmt_result_metadata
        mysql_param_count     -> mysql_stmt_param_count
        mysql_param_result    -> mysql_stmt_param_metadata
        mysql_prepare         -> mysql_stmt_prepare
        mysql_send_long_data  -> mysql_stmt_send_long_data
        Renames are done according to the rule 'Everything call operating with
        'MYSQL_STMT' structure has 'mysql_stmt_' prefix.
        Additionally mysql_param_result was renamed to mysql_stmt_param_metadata
        and mysql_get_metadata to mysql_stmt_result_metadata.
        All renames are done in hope that new names are easier to remember and 
        understand.
      libmysql/client_settings.h:
        skip_list is not needed any more
      libmysql/libmysql.c:
        New call mysql_stmt_init() introduced.
        Renames:
        mysql_bind_param      -> mysql_stmt_bind_param
        mysql_bind_result     -> mysql_stmt_bind_result
        mysql_execute         -> mysql_stmt_execute
        mysql_fetch           -> mysql_stmt_fetch
        mysql_fetch_column    -> mysql_stmt_fetch_column
        mysql_get_metadata    -> mysql_stmt_result_metadata
        mysql_param_count     -> mysql_stmt_param_count
        mysql_param_result    -> mysql_stmt_param_metadata
        mysql_prepare         -> mysql_stmt_prepare
        mysql_send_long_data  -> mysql_stmt_send_long_data
      sql-common/client.c:
        no skip_list argument any more
      tests/client_test.c:
        - many memory leaks and valgrind errors cleaned up.
      700893cc
  2. 04 Mar, 2004 9 commits
    • unknown's avatar
      Enhanced my_getsystime for NetWare. · a2b9bce6
      unknown authored
      
      mysys/my_getsystime.c:
        Add NetWare high-resolution time call.
      a2b9bce6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 71d063e6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/item_create.cc:
        Auto merged
      71d063e6
    • unknown's avatar
      UNHEX() function · eee0d093
      unknown authored
      eee0d093
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6be51d19
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_1661/mysql-4.1
      
      6be51d19
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 6faf8a8e
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_1661/mysql-4.1
      
      6faf8a8e
    • unknown's avatar
      Merging · 6ee7adab
      unknown authored
      
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      mysql-test/r/subselect.result:
        merging
      mysql-test/t/subselect.test:
        merging
      6ee7adab
    • unknown's avatar
      Cleanup · dc6bd375
      unknown authored
      dc6bd375
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a51fb44b
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      sql/item_create.cc:
        Auto merged
      a51fb44b
    • unknown's avatar
      Optimized GIS functions · 290f3321
      unknown authored
      
      heap/hp_delete.c:
        Added comments
      mysql-test/r/gis.result:
        Updated results after name changes (all results line are unchanged)
      mysql-test/r/show_check.result:
        Update test results after fix in hp_delete.cc
      mysql-test/t/gis.test:
        Changed table names to longer, hopefully non conflicting ones.
        Added missing drop table
      mysys/hash.c:
        Inendation cleanup
      mysys/tree.c:
        Updated comments
        Decrease tree->allocated on delete (for status)
      sql/field.cc:
        Added safety checking for GIS objects
      sql/gstream.cc:
        Added copyright message
        Made a lot of speed/space optimizations
        Changed class names to be MySQL compliant
      sql/gstream.h:
        Made a lot of speed/space optimizations
        Changed class names to be MySQL compliant
      sql/item_create.cc:
        Indentation fixup
      sql/item_geofunc.cc:
        Use new gis interface functions and new gis class names.
        Simple optimizations
        Indentation fixups
        Fixed a lot of unlikely but possible errors.
      sql/item_geofunc.h:
        Moved SRID_SIZE to spatial.h
      sql/spatial.cc:
        Added copyright message
        Made a lot of speed/space optimizations
        Changed class names to be MySQL compliant
      sql/spatial.h:
        Made a lot of speed/space optimizations
        Changed class names to be MySQL compliant
        Indentation fixes
        Use bool instead of int as result type for functions that only return 0 or 1
      sql/sql_string.cc:
        Simple optimizations
      sql/sql_string.h:
        Simple cleanups
      sql/structs.h:
        Added LEX_STRING_WITH_INIT (needed by spatial.cc)
      290f3321
  3. 03 Mar, 2004 3 commits
  4. 02 Mar, 2004 8 commits
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 02d5e28c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      02d5e28c
    • unknown's avatar
      More comments on what could explain -1 in Seconds_Behind_Master in · 1b7c41c1
      unknown authored
      SHOW SLAVE STATUS.
      
      1b7c41c1
    • unknown's avatar
      After hours of unsuccessful research on · 44267738
      unknown authored
      BUG#2826 "Seconds behind master weirdness"
      (sometimes this column of SHOW SLAVE STATUS shows a very big value,
      in fact a small negative number casted to ulonglong).
      This problem was reported by only one user, but which uses
      synchronized time between his servers.
      As suggested by the user, to hide this I display max(0, the value)
      so that it will be less confusing. For a user, seeing 0 is probably
      better than seeing -1 (both tell you that the slave is very close
      to the master).
      
      
      sql/slave.cc:
        Don't display a negative Seconds_Behind_Master in SHOW SLAVE STATUS.
      44267738
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 382970a3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      include/my_sys.h:
        Auto merged
      382970a3
    • unknown's avatar
      my_getsystime() · aeb81ea7
      unknown authored
      aeb81ea7
    • unknown's avatar
      Desperate attempt to push part of prepared statements cleanup which was · dba4dce2
      unknown authored
      reviewed in Saint-Petersbourg (including post-review fixes).
      
      
      include/my_sys.h:
        Added clear_alloc_root (reset alloc root without freeing its memory)
      sql/item.h:
        - rename setup_param -> set_parap (function assigns parameter value to item)
      sql/mysql_priv.h:
        - all return values are void, because return value is never checked in
            dispatch_command
        - removed unused declaration of setup_param_functions
      sql/protocol.h:
        - unused declarations of setup_params_data* removed
      sql/sql_class.cc:
        Cleanup:
          - bzero(mem_root) replaced with clear_alloc_root
          - query_id and command members moved back to THD from Statement
        Assignment of mem_root, free_list, query_id and command optimized
        away from set_statement().
      sql/sql_class.h:
        - query_id and command moved back to THD from Statement
      sql/sql_lex.h:
        - better type for param_list
        - param_count is the same thing as param_list.elements
      sql/sql_parse.cc:
        - comments for dispatch_command
      sql/sql_prepare.cc:
        Cleanup:
        - added comments to many functions and removed trailing spaces in many 
          lines, some stale comments removed.
        - it's faster to iterate using pointers, than classes
        - Renames: error_in_prepare renamed to get_longdata_error (because it is set
          when there is an error in mysql_send_longdata, rather than in
          mysql_prepare), embedded versions of placeholder assignement functions
          now have prefix emb_, setup_ functions renamed to set_, because they
          perform assignment, not installation, setup_params_data now doesn't
          call insert_params and was renamed to setup_set_param_functions,
        - find_prepared_statement should not send error if called from no-reply
          calls, like mysql_stmt_reset
        - error reporting is checked up, to always report errors and not report
          errors twice. send_prep_stmt can be done mostly in send_prepare_result, 
          rather than in test_* functions.
        - now we don't need to reinit THD->mem_root/free_list in mysql_stmt_execute,
          because it's not reset there.
      tests/client_test.c:
        - removed second call to test_subqueries
      dba4dce2
    • unknown's avatar
    • unknown's avatar
      Cleanup ha_checktype() and redundant variables. · f58aa06f
      unknown authored
      
      libmysqld/lib_sql.cc:
        Removing *_skip variables
      sql/ha_berkeley.cc:
        Removing *_skip variables
      sql/ha_berkeley.h:
        Removing *_skip variables
      sql/ha_innodb.cc:
        Removing *_skip variables
      sql/ha_innodb.h:
        Removing *_skip variables
      sql/ha_isam.cc:
        Removing *_skip variables
      sql/ha_isam.h:
        Removing *_skip variables
      sql/handler.cc:
        Removing *_skip variables
        Cleanup ha_checktype()
      sql/mysqld.cc:
        Removing *_skip variables
      sql/sql_show.cc:
        Removing *_skip variables
      f58aa06f
  5. 01 Mar, 2004 2 commits
  6. 29 Feb, 2004 4 commits
  7. 28 Feb, 2004 9 commits
    • unknown's avatar
      small after-merge fixes (error messages). · 1911544c
      unknown authored
      
      include/mysqld_error.h:
        more generic error code
      mysql-test/r/func_compress.result:
        update after message change
      mysql-test/r/loaddata.result:
        update after message change
      mysql-test/r/warnings.result:
        update after message change
      sql/share/czech/errmsg.txt:
        message change
      sql/share/danish/errmsg.txt:
        message change
      sql/share/dutch/errmsg.txt:
        message change
      sql/share/english/errmsg.txt:
        message change
      sql/share/estonian/errmsg.txt:
        message change
      sql/share/french/errmsg.txt:
        message change
      sql/share/german/errmsg.txt:
        message change
      sql/share/greek/errmsg.txt:
        message change
      sql/share/hungarian/errmsg.txt:
        message change
      sql/share/italian/errmsg.txt:
        message change
      sql/share/japanese/errmsg.txt:
        message change
      sql/share/korean/errmsg.txt:
        message change
      sql/share/norwegian-ny/errmsg.txt:
        message change
      sql/share/norwegian/errmsg.txt:
        message change
      sql/share/polish/errmsg.txt:
        message change
      sql/share/portuguese/errmsg.txt:
        message change
      sql/share/romanian/errmsg.txt:
        message change
      sql/share/russian/errmsg.txt:
        message change
      sql/share/slovak/errmsg.txt:
        message change
      sql/share/spanish/errmsg.txt:
        message change
      sql/share/swedish/errmsg.txt:
        message change
      sql/share/ukrainian/errmsg.txt:
        message change
      1911544c
    • unknown's avatar
      temporary undo needed for merge · e77cb66e
      unknown authored
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/share/serbian/errmsg.txt:
        Auto merged
      include/mysqld_error.h:
        for merge
      mysql-test/r/loaddata.result:
        for merge
      mysql-test/r/warnings.result:
        for merge
      sql/share/czech/errmsg.txt:
        for merge
      sql/share/danish/errmsg.txt:
        for merge
      sql/share/dutch/errmsg.txt:
        for merge
      sql/share/english/errmsg.txt:
        for merge
      sql/share/estonian/errmsg.txt:
        for merge
      sql/share/french/errmsg.txt:
        for merge
      sql/share/german/errmsg.txt:
        for merge
      sql/share/greek/errmsg.txt:
        for merge
      sql/share/hungarian/errmsg.txt:
        for merge
      sql/share/italian/errmsg.txt:
        for merge
      sql/share/japanese/errmsg.txt:
        for merge
      sql/share/korean/errmsg.txt:
        for merge
      sql/share/norwegian-ny/errmsg.txt:
        for merge
      sql/share/norwegian/errmsg.txt:
        for merge
      sql/share/polish/errmsg.txt:
        for merge
      sql/share/portuguese/errmsg.txt:
        for merge
      sql/share/romanian/errmsg.txt:
        for merge
      sql/share/russian/errmsg.txt:
        for merge
      sql/share/slovak/errmsg.txt:
        for merge
      sql/share/spanish/errmsg.txt:
        for merge
      sql/share/swedish/errmsg.txt:
        for merge
      sql/share/ukrainian/errmsg.txt:
        for merge
      e77cb66e
    • unknown's avatar
      Fix for BUG#3000: · 9844f29a
      unknown authored
      "replicate-wild-*-table=db.% does not apply to ALTER DATABASE"
      apply replicate-* rules to ALTER DATABASE like we already do
      for CREATE DATABASE/ DROP DATABASE.
      
      
      sql/sql_parse.cc:
        apply replicate-* rules to ALTER DATABASE like we already do
        for CREATE DATABASE/ DROP DATABASE.
      9844f29a
    • unknown's avatar
      result update after typo fixed · 50ea9c42
      unknown authored
      
      mysql-test/r/loaddata.result:
        update after typo fixed
      mysql-test/r/warnings.result:
        update after typo fixed
      50ea9c42
    • unknown's avatar
      minor compress() cleanup · f588dd68
      unknown authored
      
      sql/item_strfunc.cc:
        typo fixed
      sql/share/english/errmsg.txt:
        wording
      f588dd68
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 4c81f72f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      4c81f72f
    • unknown's avatar
      update max_used_connections *after* thread_count was increased to take into... · bc44c6d0
      unknown authored
      update max_used_connections *after* thread_count was increased to take into account the current connection
      
      
      bc44c6d0
    • unknown's avatar
      - fixed another HP-UX compile error ("Member 'set_item_arena' not declared · 3fe6dd20
      unknown authored
         in class Statement")
      
      3fe6dd20
    • unknown's avatar
      make func_misc portable · 683e110e
      unknown authored
      on different systems sprintf("%.3", 1.555499999999999) behaves differently
      
      683e110e
  8. 27 Feb, 2004 3 commits