An error occurred fetching the project authors.
  1. 24 Sep, 2005 1 commit
    • unknown's avatar
      Makefile.am, configure.in: · 5409f255
      unknown authored
        Enable "make distcheck" to work
      
      
      configure.in:
        Enable "make distcheck" to work
      Docs/Makefile.am:
        Enable "make distcheck" to work
      Makefile.am:
        Enable "make distcheck" to work
      client/Makefile.am:
        Enable "make distcheck" to work
      cmd-line-utils/libedit/Makefile.am:
        Enable "make distcheck" to work
      include/Makefile.am:
        Enable "make distcheck" to work
      libmysql/Makefile.am:
        Enable "make distcheck" to work
      libmysql_r/Makefile.am:
        Enable "make distcheck" to work
      libmysqld/Makefile.am:
        Enable "make distcheck" to work
      libmysqld/examples/Makefile.am:
        Enable "make distcheck" to work
      mysql-test/Makefile.am:
        Enable "make distcheck" to work
      ndb/docs/Makefile.am:
        Enable "make distcheck" to work
      netware/Makefile.am:
        Enable "make distcheck" to work
      pstack/Makefile.am:
        Enable "make distcheck" to work
      scripts/Makefile.am:
        Enable "make distcheck" to work
      sql-bench/Makefile.am:
        Enable "make distcheck" to work
      sql/Makefile.am:
        Enable "make distcheck" to work
      sql/share/Makefile.am:
        Enable "make distcheck" to work
      support-files/Makefile.am:
        Enable "make distcheck" to work
      5409f255
  2. 05 Jul, 2005 1 commit
    • unknown's avatar
      Makefile.am: · b0a6a8e1
      unknown authored
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      
      
      client/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      cmd-line-utils/libedit/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      dbug/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      extra/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      heap/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      isam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql_r/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/examples/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      merge/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisammrg/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysql-test/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysys/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      netware/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      regex/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      sql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      strings/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tests/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      vio/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tools/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      b0a6a8e1
  3. 20 Jun, 2005 1 commit
    • unknown's avatar
      Makefile.am: · 0f5b946c
      unknown authored
        Corrected dependency for "lex_hash.h", to avoid occasional make failure
      
      
      sql/Makefile.am:
        Corrected dependency for "lex_hash.h", to avoid occasional make failure
      0f5b946c
  4. 23 Mar, 2005 1 commit
    • unknown's avatar
      Additional storage engine called "blackhole". Customer request, and for that... · 8a99997d
      unknown authored
      Additional storage engine called "blackhole". Customer request, and for that matter a Zawodny request.  With this you can alter table to a type of table that would never store data. Its a /dev/null for a database.  
      
      
      acinclude.m4:
        New macro rule for ha_blackhole.
      configure.in:
        Rule enabling blackhole engine
      sql/Makefile.am:
        Additions to Makefile for blackhole engine
      sql/handler.cc:
        Ifdef enable code for blackhole (and message for "what does this thing do").
      sql/handler.h:
        Flag for storage engine type.
      sql/mysql_priv.h:
        Added blackhole type.
      sql/mysqld.cc:
        Updates for building backhole.
      sql/set_var.cc:
        Show variable for blackhole engine
      8a99997d
  5. 15 Sep, 2004 1 commit
    • unknown's avatar
      logging_ok: · 49dc3a53
      unknown authored
        Logging to logging@openlogging.org accepted
      SCI_Transporter.hpp, SCI_Transporter.cpp:
        Major fix-up of SCI Transporter, fixed so that it works with single card, fixed wrap around, added lots of DBUG statements, merged with new transporter handling
      TransporterRegistry.cpp:
        Some fixes for wrap around needed plus DBUG handling
      TCP_Transporter.hpp, TCP_Transporter.cpp:
        Added DBUG statements
      SHM_Transporter.hpp, SHM_Transporter.cpp:
        Fixed SHM Transporter
      SHM_Buffer.hpp:
        Fixed SHM Buffer to handle wrap around properly
      IPCConfig.cpp:
        Fixed up config of SCI
      SocketServer.cpp:
        Added DBUG support for SocketServer threads
      ConfigInfo.cpp:
        Config changes for SCI
      TransporterDefinitions.hpp, mgmapi_config_parameters.h:
        SCI fixes
      Makefile.am, type_ndbapitools.mk.am, type_ndbapitest.mk.am:
        Added SCI library path to Makefiles
      configure.in:
        Fixed small bug with shared mem and sci together in configure
      acinclude.m4:
        Added possibility of providing SCI library path in confgure
      
      
      acinclude.m4:
        Added possibility of providing SCI library path in confgure
      configure.in:
        Fixed small bug with shared mem and sci together in configure
      ndb/config/type_ndbapitest.mk.am:
        Added SCI library path to Makefiles
      ndb/config/type_ndbapitools.mk.am:
        Added SCI library path to Makefiles
      ndb/src/cw/cpcd/Makefile.am:
        Added SCI library path to Makefiles
      ndb/src/kernel/Makefile.am:
        Added SCI library path to Makefiles
      ndb/src/kernel/blocks/backup/restore/Makefile.am:
        Added SCI library path to Makefiles
      ndb/src/mgmsrv/Makefile.am:
        Added SCI library path to Makefiles
      sql/Makefile.am:
        Added SCI library path to Makefiles
      ndb/src/common/transporter/Makefile.am:
        Added SCI library path to Makefiles
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        SCI fixes
      ndb/include/transporter/TransporterDefinitions.hpp:
        SCI fixes
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Config changes for SCI
      ndb/src/common/util/SocketServer.cpp:
        Added DBUG support for SocketServer threads
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        Fixed up config of SCI
      ndb/src/common/transporter/SHM_Buffer.hpp:
        Fixed SHM Buffer to handle wrap around properly
      ndb/src/common/transporter/SHM_Transporter.cpp:
        Fixed SHM Transporter
      ndb/src/common/transporter/SHM_Transporter.hpp:
        Fixed SHM Transporter
      ndb/src/common/transporter/TCP_Transporter.cpp:
        Added DBUG statements
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Added DBUG statements
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Some fixes for wrap around needed plus DBUG handling
      ndb/src/common/transporter/SCI_Transporter.cpp:
        Major fix-up of SCI Transporter, fixed so that it works with single card, fixed wrap around, added lots of DBUG statements, merged with new transporter handling
      ndb/src/common/transporter/SCI_Transporter.hpp:
        Major fix-up of SCI Transporter, fixed so that it works with single card, fixed wrap around, added lots of DBUG statements, merged with new transporter handling
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      49dc3a53
  6. 06 Sep, 2004 1 commit
    • unknown's avatar
      Dependency fix. We observed that doing any change to class THD in sql_class.h... · e663f91a
      unknown authored
      Dependency fix. We observed that doing any change to class THD in sql_class.h resulted in mysqld going crazy (parsing errors,
      query cache errors in query_cache.test). This is because sql_yacc.cc depends on several .h files but those were not listed in
      the dependencies of sql_yacc.o. The present patch does fix the issue; but my auto*-expert colleagues may have a better one.
      
      
      sql/Makefile.am:
        sql_yacc.c includes mysql_priv.h, slave.h etc, so sql_yacc.o does depend on these .h files;
        so they need to be listed in the dependencies.
      e663f91a
  7. 20 Aug, 2004 1 commit
    • unknown's avatar
      after merge fix · 0745a2b7
      unknown authored
      myisam/Makefile.am:
        put zlib at the end (libtool adds the whole bunch of dependencies right after that)
      sql/Makefile.am:
        put zlib at the end (libtool adds the whole bunch of dependencies right after that)
      0745a2b7
  8. 19 Aug, 2004 1 commit
  9. 17 Aug, 2004 1 commit
  10. 13 Aug, 2004 1 commit
    • unknown's avatar
      This is the addition of the CSV engine "aka tina". Its an example engine that... · 89987fa1
      unknown authored
      This is the addition of the CSV engine "aka tina". Its an example engine that works as a plain text file. 
      
      
      acconfig.h:
        Adding HAVE CSV rule
      acinclude.m4:
        Build option of csv engine
      configure.in:
        Update for building CSV
      sql/Makefile.am:
        Added files for CSV build
      sql/handler.cc:
        Needed options for CSV to be created.
      sql/handler.h:
        CSV type engine enum.
      sql/mysql_priv.h:
        Addition of the have_csv_db variable.
      sql/mysqld.cc:
        Code to show csv option.
      sql/set_var.cc:
        Adding have show variables for both csv and example.
      89987fa1
  11. 30 Jul, 2004 1 commit
    • unknown's avatar
      - added the MYSQL_EXTRA_LDFLAGS to the mysql_tzinfo_to_sql link · d2492181
      unknown authored
         flags to enable static linking (to avoid having a shared lib
         dependency in the Linux RPMs)
       - Disabled OpenSSL in the Max RPM
      
      
      sql/Makefile.am:
         - added the MYSQL_EXTRA_LDFLAGS to the mysql_tzinfo_to_sql link
           flags to enable static linking (to avoid having a shared lib
           dependency in the Linux Server RPMs)
      support-files/mysql.spec.sh:
         - Disable OpenSSL in the Max RPM
      d2492181
  12. 24 Jul, 2004 1 commit
    • unknown's avatar
      WL#1518, "make bundled zlib usable for unix builds": · 108864ed
      unknown authored
      required autotools macro written and deployed in all apropriate Makefile.ams.
      Use cases checked:
      - linux, standard location of zlib, no ndb
      - linux, standard locatoin of zlib, with ndb
      - linux, non-standard location of zlib, no ndb
      - hpux11, use of bundled zlib, no ndb 
      The only non-checked case is non-standard location of zlib (or use of bundled
      zlib) + ndb. I wasn't able to check it as ndb/ just won't compile on beasts 
      like AIX52 or HPUX11, where such a check is possible. It didn't compile 
      there before as these systems dont't have installed zlib, so nothing got broken ;)
      
      
      Makefile.am:
        WL#1518 "make bundled zlib usable for unix builds", part 2:
        - zlib dir should be built only if there is no system zlib available;
          with introducing of DIST_SUBDIRS goal, os2, BUILD and SSH now only entered
          if make dist
      acinclude.m4:
        WL#1518, "make bundled zlib usable for unix builds":
        - actual implementation of the check for various zlib usage options
      configure.in:
        WL#1518, "make bundled zlib usable for unix builds":
        - MYSQL_CHECK_ZLIB_WITH_COMPRESS deployed
      libmysql/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      libmysql_r/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      libmysqld/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      myisam/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib binary dir added
      mysys/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
      sql/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir and library dir added
      tools/Makefile.am:
        WL#1518, "make bundled zlib usable for unix builds":
        - support for non-standard zlib include dir added
        - copyright added
      108864ed
  13. 22 Jul, 2004 1 commit
    • unknown's avatar
      distclean: · 473eec23
      unknown authored
      	rm -f lex_hash.h
      BUG#4583
      
      
      473eec23
  14. 27 Jun, 2004 2 commits
  15. 24 Jun, 2004 1 commit
    • 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
  16. 23 Jun, 2004 1 commit
    • unknown's avatar
      Final solution to mysql_tzinfo_to_sql problem. · 0fe7f344
      unknown authored
      sql/Makefile.am:
        Final solution to mysql_tzinfo_to_sql problem:
        We can't put it in extra/ directory since it depends on sql/sql_yacc.h and
        sql/ directory depends on extra/comp_err. So this utility have to stay in
        sql/ for a while.
      BitKeeper/etc/ignore:
        Added sql/mysql_tzinfo_to_sql_tztime.cc to the ignore list
      0fe7f344
  17. 22 Jun, 2004 2 commits
    • unknown's avatar
      Fix for build from bk failures with old automake. · c963b719
      unknown authored
      mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
      compatible with older automake versions.
      
      
      extra/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
        compatible with older automake versions.
      sql/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made
        compatible with older automake versions.
      BitKeeper/etc/ignore:
        Added extra/tztime.cc extra/mysql_tzinfo_to_sql to the ignore list
      c963b719
    • unknown's avatar
      Removed building of test_time test since it was not needed/used really and caused problems · 015b03db
      unknown authored
      on many platforms (the other option was providing portable setenv() replacement).
      
      
      sql/Makefile.am:
        Removed building of test_time since it was not needed/used really and caused problems on 
        many platforms.
      015b03db
  18. 18 Jun, 2004 1 commit
    • unknown's avatar
      WL#1264 "Per-thread time zone support infrastructure". · 6aaccbcb
      unknown authored
      Added basic per-thread time zone functionality (based on public
      domain elsie-code). Now user can select current time zone
      (from the list of time zones described in system tables).
      All NOW-like functions honor this time zone, values of TIMESTAMP
      type are interpreted as values in this time zone, so now
      our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
      LOCAL TIME ZONE (or proper PostgresSQL type).
        
      WL#1266 "CONVERT_TZ() - basic time with time zone conversion 
      function".
        
      Fixed problems described in Bug #2336 (Different number of warnings 
      when inserting bad datetime as string or as number). This required
      reworking of datetime realted warning hadling (they now generated 
      at Field object level not in conversion functions).
        
      Optimization: Now Field class descendants use table->in_use member
      instead of current_thd macro.
      
      
      include/my_global.h:
        Added macro for reading of 32-bit ints stored in network order from
        unaligned memory location.
      include/mysqld_error.h:
        Added error-code for invalid timestamp warning and error-code
        for wrong or unknown time zone specification.
      libmysqld/Makefile.am:
        Added main per-thread time zone support file to libmysqld
      libmysqld/lib_sql.cc:
        Added initialization of time zones infrastructure to embedded server.
      mysql-test/r/connect.result:
        Updated test result since now mysql database contains more
        system tables.
      mysql-test/r/date_formats.result:
        Now when truncation occurs during conversion to datetime value we are producing Warnings 
        instead of Notes. Also we are giving more clear warnings about this in some cases.
      mysql-test/r/func_sapdb.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/func_time.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/select.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling. Also tweaked test a bit to made it less ambigious for reader.
      mysql-test/r/system_mysql_db.result:
        Updated test result because new system tables holding time zone descriptions were 
        added.
      mysql-test/r/timezone.result:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/r/type_datetime.result:
        Separated and extended test of values and warnings produced for bad values stored in 
        DATETTIME fields.
      mysql-test/r/type_time.result:
        Now we are producing more consistent warning when we are truncating datetime value while
        storing it in TIME field.
      mysql-test/r/type_timestamp.result:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      mysql-test/t/select.test:
        Updated test to make it less ambigous for reader.
      mysql-test/t/timezone.test:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/t/type_datetime.test:
        Separated and extended test of values and warnings produced for bad
        values stored in DATETTIME fields.
      mysql-test/t/type_timestamp.test:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      scripts/mysql_create_system_tables.sh:
        Added creation of tables with time zone descriptions.
        Also added descriptions of time zones used in tests.
      scripts/mysql_fix_privilege_tables.sql:
        Added mysql.time_zone* tables family.
      sql/Makefile.am:
        Added files implementing time zone support to server, also added
        rules for building of mysql_tzinfo_to_sql converter and test_time
        test.
      sql/field.cc:
        Now we are using per-thread time zone for TIMESTAMP <-> whatever conversion.
        Fixed generation of warnings for datetime types (DATETIME/TIMESTAMP/DATE/...) and
        any other Field to datetime conversion (now we are generating warnings no in lower
        level functions like in str_to_TIME() but in Field methods. This allows generate
        better and more consistent warnings and to reuse code of str_to_TIME() outside of
        server).
        
        Added 3rd parameter to set_warning() method to be able to not increment cut fields
        but still produce a warning. Also added set_datetime_warning() family of auxiliary 
        methods which allow easier generate datetime related warnings.
        Also replaced occurences of current_thd with table->in_use member, added
        asserts for catching all places there we need to set table->in_use
        accordingly. Renamed fix_datetime() function to number_to_TIME() and
        moved it to sql/time.cc there it fits better.
      sql/field.h:
        Added comment about places where we can use table->in_use member
        instead of current_thd.
        Added 3rd parameter to Field::set_warning() method and set_datetime_warning()
        family of methods.
      sql/field_conv.cc:
        Field::set_warning() method with 2 arguments was replaced with more 
        generic set_warning() method with 3 arguments.
      sql/ha_berkeley.cc:
        Now we set table->in_use for temporary tables so we have to use
        table->tmp_table for checking if table is temporary.
      sql/item.cc:
        Replaced calls to str_to_time() and str_to_TIME() funcs with their warning
        generating analogs.
      sql/item_create.cc:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_create.h:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_timefunc.cc:
        Added support of per-thread time zone to NOW-like and FROM_UNIXTIME,
        UNIX_TIMESTAMP functions. 
        Added support for CONVERT_TZ function.
        Removed call to str_to_timestamp function which caused non-optimal
        behavior in certain cases. Replaced calls to str_to_time() function 
        with its warning generating analog.
      sql/item_timefunc.h:
        Added support of per-thread time zone to NOW-like and
        FROM_UNIXTIME, UNIX_TIMESTAMP functions.
        Added support of CONVERT_TZ function.
      sql/lex.h:
        Added support of CONVERT_TZ function.
      sql/log.cc:
        Added support for replication of statements depending on time zone.
      sql/mysql_priv.h:
        Now including headers with per-thread time zone support functions
        and classes. Added portable replacement of time_t - my_time_t type. 
        Added time zone as one of query distinguishing parameters for
        query cache. 
        Fixed declarations of str_to_TIME, str_to_time and 
        my_system_gmt_sec (former my_gmt_sec) since now they have one more
        out parameter which informs about wrong datetime value or data 
        truncation during conversion.
        Added warning generating version of str_to_TIME() and str_to_time()
        functions.
        Thrown away str_to_datetime/timestamp functions since they are not
        needed any longer. Added number_to_TIME function.
      sql/mysqld.cc:
        Added per-thread time zone support initialization.
        Added new startup parameter --default-time-zone.
      sql/set_var.cc:
        Added support for per-thread time_zone variable.
        Renamed old timezone variable to system_time_zone.
      sql/set_var.h:
        Added support for per-thread time_zone variable.
      sql/share/czech/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/danish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/dutch/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/english/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/estonian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/french/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/german/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/greek/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/hungarian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/italian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/japanese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/korean/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian-ny/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/polish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/portuguese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/romanian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/russian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/serbian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/slovak/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/spanish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/swedish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/ukrainian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/slave.cc:
        In order to support replication of statements using time zones in 4.1 we should 
        ensure that both master and slave have same default time zone.
      sql/sql_base.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_cache.cc:
        Added time zone as one more query distinguishing parameter
        for query cache.
      sql/sql_class.cc:
        Added THD::time_zone_used variable indicating that this query
        uses per thread time zone.
      sql/sql_class.h:
        Added per-thread time zone variable. Added THD::time_zone_used
        variable indicating that this query uses per thread time zone
        so if this is updating query the time zone should be logged to 
        binlog.
      sql/sql_insert.cc:
        We should set TABLE::in_use member pointing to thread which is called
        INSERT DELAYED and not to worker thread.
      sql/sql_load.cc:
        Field::set_warning() now has one more argument now.
      sql/sql_parse.cc:
        Resetting THD::time_zone_used variable in the end of query
        processing.
      sql/sql_select.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_show.cc:
        Now using per thread time zone for extended show tables.
      sql/time.cc:
        Added support for per-thread time zones for TIMESTAMP type and
        reworked generation of warnings for TIMESTAMP and DATETIME types.
        (Introduced new TIME_to_timestamp() function. Removed hours 
        normalisation from former my_gmt_sec() since it was not working 
        and not used anywhere now, but breaks parameter constness, added
        to this function generation of warning if we are falling in spring 
        time-gap. Removed str_to_timestamp and str_to_datetime functions 
        which are no longer used. Moved fix_datetime function from
        sql/field.cc to this file as number_to_TIME() function. Added
        out parameter for str_to_TIME and str_to_time functions which
        indicates if value was truncated during conversion, removed direct 
        generation of warnings from this functions.)
      sql/unireg.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
          calls to Field::store or val_ methods).
      BitKeeper/etc/ignore:
        Added sql/test_time sql/mysql_tzinfo_to_sql libmysqld/tztime.cc to the ignore list
      6aaccbcb
  19. 22 May, 2004 1 commit
    • unknown's avatar
      Merge · 64285a73
      unknown authored
      configure.in:
        SCCS merged
      sql/Makefile.am:
        SCCS merged
      sql/handler.cc:
        SCCS merged
      sql/mysql_priv.h:
        SCCS merged
      64285a73
  20. 21 May, 2004 1 commit
    • unknown's avatar
      First commit of archive example. Archive is a simple storage engine that... · 31c1f849
      unknown authored
      First commit of archive example. Archive is a simple storage engine that handles inserts and selects. 
      
      
      acconfig.h:
        Adding undef piece for HAVE_ARCHIVE_DB	
      acinclude.m4:
        Code needed for --with-archive-storage-engine flag for compile.
      configure.in:
        Adding tag for Archive
      sql/Makefile.am:
        Source updates to compile ha_archive
      sql/examples/ha_archive.cc:
        Class file for archive storage engine. First version.
      sql/handler.cc:
        Updates needed for adding archive storage engine.
      sql/handler.h:
        ENUM for archive storage engine.
      sql/mysql_priv.h:
        Archive show options
      sql/mysqld.cc:
        Ifdef foor HAVE_ARCHIVE_DB
      sql/examples/ha_archive.h:
        Include file for archive storage engine addition.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      31c1f849
  21. 19 May, 2004 1 commit
    • unknown's avatar
      Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt' · 2d67f1e0
      unknown authored
      Ensured that all projects compile
      Removed compiler warnings
      Better setting of server_version variable.
      Fix that make_win_src_distribution creates the privilege tables.
      
      
      VC++Files/bdb/bdb.dsp:
        Small, automatic changes
      VC++Files/client/mysql.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/client/mysqladmin.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/client/mysqlclient.dsp:
        Removed files that should only be used with mysql command line client
      VC++Files/client/mysqldump.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/client/mysqlimport.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/client/mysqlshow.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/comp_err/comp_err.dsp:
        Automatic changes
      VC++Files/dbug/dbug.dsp:
        Automatic changes
      VC++Files/heap/heap.dsp:
        automatic changes
      VC++Files/innobase/innobase.dsp:
        Automatic changes
      VC++Files/isam/isam.dsp:
        Automatic changes
      VC++Files/isamchk/isamchk.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/libmysql/libmysql.dsp:
        Automatic changes
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Add missing files
      VC++Files/libmysqld/libmysqld.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/libmysqltest/myTest.dsp:
        Automatic changes
      VC++Files/merge/merge.dsp:
        Automatic changes
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/myisam/myisam.dsp:
        automatic changes
      VC++Files/myisam_ftdump/myisam_ftdump.dsp:
        automatic changes
      VC++Files/myisamchk/myisamchk.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/myisamlog/myisamlog.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/myisammrg/myisammrg.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/myisampack/myisampack.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/mysql.dsw:
        Automatic changes
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/mysqldemb/mysqldemb.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/mysqlserver/mysqlserver.dsp:
        Automatic changes
      VC++Files/mysqlshutdown/mysqlshutdown.dsp:
        Automatic changes
      VC++Files/mysqlwatch/mysqlwatch.dsp:
        Automatic changes
      VC++Files/mysys/mysys.dsp:
        Automatic changes
      VC++Files/pack_isam/pack_isam.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/perror/perror.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/regex/regex.dsp:
        Automatic changes
      VC++Files/replace/replace.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/sql/mysqld.dsp:
        Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
      VC++Files/strings/strings.dsp:
        Removed duplicate code for strnlen
      VC++Files/test1/test1.dsp:
        Automatic changes
      VC++Files/thr_test/thr_test.dsp:
        Automatic changes
      VC++Files/vio/vio.dsp:
        Automatic changes
      VC++Files/zlib/contrib/asm386/zlibvc.dsp:
        Automatic changes
      VC++Files/zlib/zlib.dsp:
        Automatic changes
      extra/my_print_defaults.c:
        Fixed bug in --verbose
      include/m_string.h:
        Portability fix
      include/mysql_embed.h:
        Better setting of server_version variable
      include/mysql_version.h.in:
        Better license text handling
      innobase/pars/pars0lex.l:
        Remove compiler warnings
      innobase/trx/trx0sys.c:
        Remove compiler warnings
      libmysqld/lib_sql.cc:
        Better setting of server_version variable
      libmysqld/libmysqld.def:
        Add functions needed for mysql command line client
      myisam/myisam_ftdump.c:
        Remove compiler warnings
      mysys/sha1.c:
        Remove compiler warnings
      scripts/make_win_src_distribution.sh:
        Safety fix
      scripts/mysql_install_db.sh:
        Backport from 4.1 to allow make_win_src_distribution create the privilege tables
      sql/Makefile.am:
        Add new file mysqld_suffix.h
        Remove not used file sql_olap.h
      sql/ha_innodb.cc:
        Remove not used variable
      sql/mysqld.cc:
        Better setting of server_version variable
      sql/set_var.cc:
        Fixed bug when showing lower_case_file_system
      strings/ctype-tis620.c:
        Remove compiler warnings
      2d67f1e0
  22. 15 Apr, 2004 1 commit
    • unknown's avatar
      Added NDB storage engine · b43af929
      unknown authored
      include/my_base.h:
        Added three new errorcodes to be returned by the handler
      sql/Makefile.am:
        Add new files discover.cc, ha_ndbcluster.cc and ha_ndbcluster.h
        Add include path of NDB files
      sql/handler.cc:
        Added variable for keeping track of number of "discovers"
        Added NDB to list of storage engines
        Added calls to NDB for commit, rollback etc.
        Added function ha_discover for discovering a table from handler
      sql/handler.h:
        Added NDB to list of storage engines
        Added vbariable in transaction for keeping a ndb transaction handle
      sql/lex.h:
        Changed AND to AND_SYM and OR to OR_SYM to avoid nameclash
      sql/mysql_priv.h:
        Added prototypes for new functions readfrm, writefrm and create_table_from_handler
      sql/mysqld.cc:
        Added NDB support
        Disable NDB with --skip-ndbcluster
      sql/set_var.cc:
        Add posibilty to show if NDB handler is supported
      sql/ha_ndbcluster.cc:
        Add ifdef for whole file for not compiling anything if NDB sholdn't be included
        Updated timestamp handling to use new vars timestamp_default_now and timestamp_on_update_now
      sql/sql_base.cc:
        If frm file is not found on disk, ask handler if it knows about the table. Then retry the open.
        This new functionality is called "discover" and can be used by any handler.
      sql/sql_class.h:
        Added variable for keeping a NDB connection handle
      sql/sql_table.cc:
        Before trying to create a table, ask handler if a table with that name already exists.
        If user said CREATE TABLE IF NOT EXISTS, disocver the table from handler
      sql/sql_yacc.yy:
        Add NDBCLUSTER_SYM
        Change AND to AND_SYM
        Change OR to OR_SYM
      sql/table.cc:
        Fixe for probelm when NullS is returned from bas_ext of a handler.
      b43af929
  23. 13 Apr, 2004 1 commit
    • unknown's avatar
      All changes are to allow someone to compile the example storage engine and use it. · 01bff53c
      unknown authored
      acconfig.h:
        Default undef for example storage engine.
      acinclude.m4:
        Build macro additions for example engine.
      configure.in:
        Configure changes for it to be listed in --help
      sql/Makefile.am:
        Added in paths to build example.
      sql/examples/ha_example.cc:
        Correction in indention and a few minor other corrections. It now lets you create/open/drop example engine.
      sql/handler.cc:
        Added definition for the example storage engine. Added case for it to be created.
      sql/handler.h:
        Added example storage engine type.
      sql/mysql_priv.h:
        Added flag for optional build of example storage engine.
      sql/mysqld.cc:
        Pieces to build example storage engine.
      01bff53c
  24. 03 Feb, 2004 1 commit
    • unknown's avatar
      Code cleanup: · 453a32e9
      unknown authored
      we don't need opt_range.h and opt_range.cc files at all.
      
      
      BitKeeper/deleted/.del-opt_ft.cc~2048ffa561f9c59:
        Delete: sql/opt_ft.cc
      BitKeeper/deleted/.del-opt_ft.h~24aac1d29304599a:
        Delete: sql/opt_ft.h
      453a32e9
  25. 12 Nov, 2003 1 commit
  26. 03 Nov, 2003 1 commit
    • unknown's avatar
      Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error · bee5d9d4
      unknown authored
      Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
      This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
      Changed flag argument to str_to_TIME() and get_date() from bool to uint
      Removed THD from str_to_xxxx functions and Item class.
      Fixed core dump when doing --print-defaults
      Move some common string functions to strfunc.cc
      Dates as strings are now of type my_charset_bin instead of default_charset()
      Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
      Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
      Renamed some TIMESTAMP_xxx enums to more appropriate names
      Use defines instead of integers for date/time/datetime string lengths
      Added to build system and use the new my_strtoll10() function.
      
      
      
      BUILD/compile-pentium-valgrind-max:
        Remove double printing of warning
      VC++Files/libmysqld/libmysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqldmax.dsp:
        Added strfunc.cc
      VC++Files/strings/strings.dsp:
        added my_strtoll10.c
      include/m_ctype.h:
        Removed MY_LEX_FOUND_IDENT (not used)
      include/m_string.h:
        Added my_strtoll10()
      include/mysqld_error.h:
        simplified 'wrong xxx name' error messages
      include/sql_state.h:
        simplified 'wrong xxx name' error messages
      libmysqld/Makefile.am:
        Added strfunc.cc
      mysql-test/mysql-test-run.sh:
        Simplified some options
        changed $@ to "$@" in an attempt to handle options with space (Didn't succeed;  Problem will disappear when mysql-test-run is rewritten in C)
      mysql-test/r/ctype_latin1_de.result:
        Added new tests
      mysql-test/r/ctype_recoding.result:
        Extended tests
      mysql-test/r/date_formats.result:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/r/func_compress.result:
        New error message
      mysql-test/r/rpl_temporary.result:
        Added new test
      mysql-test/t/create.test:
        Changed error numbers
      mysql-test/t/ctype_latin1_de.test:
        New tests
      mysql-test/t/ctype_recoding.test:
        Extended tests
      mysql-test/t/date_formats-master.opt:
        Removed datetime_format as we can't handle options with space in mysql-test-run
      mysql-test/t/date_formats.test:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/t/rpl_temporary.test:
        Added testing of open temporary table on slave shutdown
      mysql-test/t/symlink.test:
        Fixed error numbers
      mysys/default.c:
        Fixed core dump when doing --print-defaults
      sql/Makefile.am:
        Added strfunc.cc
      sql/derror.cc:
        Fixed compiler warning
      sql/field.cc:
        Changed argument to str_to_TIME() from bool to uint
        Removed THD argument from str_to_TIME()
        Moved find_enum() and find_set() to strfunc.cc
      sql/field.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/init.cc:
        Remove not used variable dayord
      sql/item.cc:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* element from item.
        Don't use make_date_time() to generate date/time/datetimes
      sql/item.h:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* from Item
      sql/item_create.cc:
        Indentation cleanup
      sql/item_func.cc:
        Use new find_type()
      sql/item_func.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/item_strfunc.h:
        space change
      sql/item_timefunc.cc:
        Changed month_names[] to be easier to use
        Moved check_names[] to strfunc.cc
        Added back old make_datetime() function
        Optimized extract_date_time()
        Use my_strtoll10() insetad of my_strntoll()
        Optimized make_date_time()
        Replaced short variable names with long ones.
        Use new functions make_time(), make_date() and make_datetime()
        Dates as strings are now of type my_charset_bin instead of default_charset()
        Changed Item_func_str_to_date() to by default return a date.
      sql/item_timefunc.h:
        Changed charset for date string from default_charset() to my_charset_bin
        Changed type of last argument to get_date() to be able to handle more options
        Use defines instead of integers for date/time/datetime string lengths
      sql/mysql_priv.h:
        Fixed/added new prototypes
      sql/mysqld.cc:
        Removed opt_datetime_format_names
        Cleaned up handling of date_time format handling. (Fixed core dump when mysqld had error on startup)
        Removed some unnecessary double init of collation variables
      sql/protocol.cc:
        Changed back protocol functions to always return dates in ISO format
      sql/set_var.cc:
        Added variables time_format, date_format and datetime_format
        This had to be recoded becasue checking was done in 'update' method and not in 'check' method.
      sql/set_var.h:
        Removed class sys_var_datetime_format() as this defined a variable (which doesn't work) instead of updating a variable
      sql/share/czech/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/danish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/dutch/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/english/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/estonian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/french/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/german/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/greek/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/hungarian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/italian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/japanese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/korean/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian-ny/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/polish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/portuguese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/romanian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/russian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/serbian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/slovak/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/spanish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/swedish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/ukrainian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/sql_base.cc:
        Use new find_type()
      sql/sql_class.cc:
        Allocate/free date_time format variables
      sql/sql_class.h:
        Define datetime_format variables
      sql/sql_db.cc:
        Use new ER_WRONG_NAME error
      sql/sql_lex.cc:
        Change lex to generate IDENT_QUOTED for quoted identifiers or identifers that are using characters > 128.
        This enabled us to not have to copy and convert the identifier to utf8 for simpe identifiers
      sql/sql_parse.cc:
        Use new ER_WRONG_NAME error
        Use new find_type() function
      sql/sql_prepare.cc:
        Use new defines
      sql/sql_table.cc:
        Use new ER_WRONG_NAME error
      sql/sql_yacc.yy:
        Don't copy and convert simple identifiers to utf8.
        Replace __FORMAT_TYPE defines with TIMESTAMP... defines
      sql/structs.h:
        Renamed DATETIME_FORMAT to DATE_TIME format to indicate that it's for date/time/datetime formats
        Renamed WRONT_TIMESTAMP_FULL to TIMESTAMP_DATETIME_ERROR and TIMESTAMP_FULL to TIMESTAMP_DATETIME
        Added KNOWN_DATE_TIME_FORMAT struct for Item_func_get_format
      sql/time.cc:
        Prepare str_to_TIME and str_to_time() for general date/time handling
        Removed THD from str_to... functions
        Renamed date/time/datetime functions to use 'date_time' instead of 'datetime'
        Added functions to make and copy DATE_TIME_FORMAT's
        Added trivial functions 'make_time()', 'make_date()' and 'make_datetime()'
      strings/Makefile.am:
        Added my_strtoll10()
      strings/ctype-bin.c:
        Cleared upper part of binary state map to be able to easily identify simple identifiers
      strings/my_vsnprintf.c:
        F
      bee5d9d4
  27. 06 Jul, 2003 1 commit
    • unknown's avatar
      Support for variables with components · e17562b5
      unknown authored
      Added framework to create/drop and manager buffers for multiple key caches
      
      
      include/my_getopt.h:
        Fixed prototype
      include/my_sys.h:
        Added (temporary) KEY_CACHE type
      include/mysqld_error.h:
        New error messages
      mysql-test/r/select_safe.result:
        Updated test results
      mysql-test/r/variables.result:
        Updated test results
      mysys/my_getopt.c:
        Fixed bugs with GET_ASK_ADDR
      sql/Makefile.am:
        Make sql_yacc.o depend on all header files in sql directory
      sql/item_func.cc:
        Added support for variable components
      sql/mysql_priv.h:
        Added support for variable components
      sql/mysqld.cc:
        Added support for multiple key caches
      sql/set_var.cc:
        Added support for multiple key caches
      sql/set_var.h:
        Added support for multiple key caches
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/serbian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_lex.cc:
        Fixes for quoting of variables.
      sql/sql_parse.cc:
        Fix after changing prototype for get_system_var
      sql/sql_show.cc:
        Fix after introducing variable components
      sql/sql_yacc.yy:
        Support for variables with components (To support multiple key caches)
      e17562b5
  28. 20 Jun, 2003 1 commit
  29. 14 Jun, 2003 1 commit
    • unknown's avatar
      Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1... · ccf59c38
      unknown authored
      Cleanup after split of libmysql.c to client.c and libmysql.c.  A 4.1 master/slave will now use the 4.1 protocol
      Fixed wrong value for SQLSTATE_LENGTH
      Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
      Changed mysql_port and mysql_unix_port to mysqld_xxxx
      
      
      client/mysql.cc:
        Removed valgrind & compiler warnings
      client/sql_string.h:
        Fix to remove valgrind warnings
      include/mysql.h:
        Added read_timeout and write_timeout to mysql options struct.
        This is to be used for slave when connection to master.
        code cleanup
      include/mysql_com.h:
        Fixed wrong value for SQLSTATE_LENGTH
        Added CLIENT_REMEMBER_OPTIONS
      include/sql_common.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      include/sql_state.h:
        Removed default states
      libmysql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      libmysql/libmysql.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      mysql-test/r/type_blob.result:
        Update results after someone updated error messages without running tests
      mysys/charset.c:
        More debug information
      mysys/errors.c:
        Fixed wrong error message
      sql-common/client.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/Makefile.am:
        Added sql_client.cc
      sql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/log.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysql_priv.h:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysqld.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/protocol.cc:
        Fix for SQLSTATE_LENGTH
        Moved function to sql_client.c
      sql/repl_failsafe.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/set_var.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/slave.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      ccf59c38
  30. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · b388eb00
      unknown authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_state.c
      client/mysql.cc:
        Added SQLSTATE to error messages
        Added new function put_error() to be able to clean up some old code.
      client/mysqltest.c:
        Write ERROR SQLSTATE for all errors
      dbug/dbug.c:
        Portability fixes
      include/m_string.h:
        Rename bmove_allign as bmove_align
      include/mysql.h:
        Added SQLSTATE (for embedded version)
      include/mysql_com.h:
        Send correct SQLSTATE for the error to the client
      libmysql/libmysql.c:
        Changed default error state to HY000
        Applied code cleanup patch
      libmysqld/Makefile.am:
        Added sql_state.cc
      libmysqld/libmysqld.c:
        Added sqlstate
      mysql-test/r/analyse.result:
        Updated results
      mysql-test/r/ansi.result:
        Updated results
      mysql-test/r/auto_increment.result:
        Updated results
      mysql-test/r/bdb-deadlock.result:
        Updated results
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/r/comments.result:
        Updated results
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/ctype_collate.result:
        Updated results
      mysql-test/r/delayed.result:
        Updated results
      mysql-test/r/delete.result:
        Updated results
      mysql-test/r/derived.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/drop.result:
        Updated results
      mysql-test/r/err000001.result:
        Updated results
      mysql-test/r/explain.result:
        Updated results
      mysql-test/r/flush.result:
        Updated results
      mysql-test/r/fulltext.result:
        Updated results
      mysql-test/r/func_gconcat.result:
        Updated results
      mysql-test/r/func_system.result:
        Updated results
      mysql-test/r/grant_cache.result:
        Updated results
      mysql-test/r/group_by.result:
        Updated results
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/heap.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/insert_update.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/join_outer.result:
        Updated results
      mysql-test/r/key.result:
        Updated results
      mysql-test/r/lock.result:
        Updated results
      mysql-test/r/lock_multi.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/r/myisam.result:
        Updated results
      mysql-test/r/null.result:
        Updated results
      mysql-test/r/olap.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/r/packet.result:
        Updated results
      mysql-test/r/query_cache.result:
        Updated results
      mysql-test/r/row.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/r/rpl_empty_master_crash.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/rpl_replicate_do.result:
        Updated results
      mysql-test/r/rpl_rotate_logs.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/select_safe.result:
        Updated results
      mysql-test/r/show_check.result:
        Updated results
      mysql-test/r/sql_mode.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      mysql-test/r/temp_table.result:
        Updated results
      mysql-test/r/truncate.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/type_float.result:
        Updated results
      mysql-test/r/type_ranges.result:
        Updated results
      mysql-test/r/union.result:
        Updated results
      mysql-test/r/update.result:
        Updated results
      mysql-test/r/user_var.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/ansi.test:
        Test of sql_mode
      mysql-test/t/derived.test:
        Updated results
      mysql-test/t/func_system.test:
        Make this independen of the MySQL server name
      mysql-test/t/lowercase_table.test:
        Cleanup
      mysql-test/t/olap.test:
        A lot of new tests
      mysql-test/t/sql_mode.test:
        More test for sql_mode
      mysql-test/t/subselect.test:
        Added a few new tests (to find a bug in the item_ref code)
      scripts/Makefile.am:
        Added mysql_fix_privilege_tables.sql
      scripts/mysql_fix_privilege_tables.sh:
        Totally new script.  This bascily just pipes mysql_fix_privilege_tables.sql through 'mysql' to 'mysqld'
      sql/Makefile.am:
        Added sql_state.cc
      sql/item.cc:
        Extended Item_field::eq() to be able to better match GROUP BY fields on the command line.
        Needed for ROLLUP
      sql/item.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/item_sum.cc:
        Moved copy_or_same() and some reset() functions from item_sum.h
        Needed to be able to access thd->mem_root.
      sql/item_sum.h:
        Moved some functions to item_sum.cc
        Added make_unique() for ROLLUP
      sql/item_uniq.h:
        Fixed return value
      sql/mysql_priv.h:
        Updated MODE flags
      sql/mysqld.cc:
        Added ANSI as it's own mode
        Moved charset_info variables here
        Cleaned up handler_count handling (for NT)
        Added table_alias_charset, for easier --lower-case-table-name handling
      sql/net_serv.cc:
        New comment
      sql/protocol.cc:
        Send SQLSTATE to client
      sql/set_var.cc:
        Better SQL_MODE handling (Setting complex options also sets sub options)
      sql/set_var.h:
        Better SQL_MODE handling
      sql/sql_base.cc:
        Make alias depend on --lower-case-table-names
        Make find_item_in_list also check database name
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_list.h:
        Added safety assert
        Addes support of alloc without current_thd()
      sql/sql_prepare.cc:
        Update after prototype change
      sql/sql_select.cc:
        Added ROLLUP
      sql/sql_select.h:
        structures for rollup
      sql/sql_show.cc:
        Easier SQL_MODE handling
      sql/sql_string.cc:
        Move CHARSET_INFO to mysqld (to be together with all other global variables)
      sql/sql_string.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/sql_table.cc:
        Simpler --lower-case-table-name handling
      sql/sql_union.cc:
        Update after prototype change
      sql/sql_yacc.yy:
        ROLLUP
      sql/unireg.h:
        bmove_allign ->bmove_align
      strings/Makefile.am:
        Fix to be able to compile str_test.c
      strings/ctype.c:
        Removed empty lines
      strings/str_test.c:
        Added test of bmove_align
      strings/strings-x86.s:
        Faster bmove_align, bmove_upp and strmake
      strings/strings.asm:
        move_allg
      b388eb00
  31. 31 May, 2003 1 commit
    • unknown's avatar
      SCRUM: · 62c7d2cd
      unknown authored
      Here is another pack of changes about gathering common client code in
      sql-common/client.c.
      Now i symlink the client.c from sql/ and libmysql/. These directories
      have client_settings.h files to be included to client.c. It contains
      defines and declarations to compile client.c in appropriate manner.
      Also i've added include/sql_common.h, containing declarations of what
      is exported from client.c
      
      I removed as many #ifdef-s from client.c as i dared to. I think it's better
      push it with some extra #ifdef-s now (of course, if everythihg besides it is
      ok) so other people can check the code.
      
      
      Makefile.am:
        symlinking of sql-common/client.c was added
      include/mysql.h:
        MYSQL_CLIENT define moved here from libmysql/Makefile
      libmysql/Makefile.am:
        ../libmysql/client_settings.h added to the list of necessary h-files
      libmysql/Makefile.shared:
        client.lo added to the list of objects
      libmysql/libmysql.c:
        a lot of changes about separating code between libmysql.c and client.c
      mysys/default.c:
        changed to keep compiler happy
      sql-common/client.c:
        a lot of changes about code separating
      sql/Makefile.am:
        mini_client.h has to be removed
      sql/repl_failsafe.cc:
        mysql_real_connect prototype was unified, so we've got to set connection timeout separately
      sql/slave.cc:
        trimming code to the changed function's prototypes
      sql/sql_repl.cc:
        mini_client isn't needed anymore
      62c7d2cd
  32. 30 May, 2003 1 commit
  33. 23 May, 2003 1 commit
    • unknown's avatar
      convert.cc was removed · 3a1501d6
      unknown authored
      BitKeeper/deleted/.del-convert.cc~437689acaffb7446:
        Delete: sql/convert.cc
      3a1501d6
  34. 23 Apr, 2003 1 commit
    • unknown's avatar
      SCRUM · f0909cd7
      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
      f0909cd7
  35. 27 Jan, 2003 1 commit
    • unknown's avatar
      - added a dummy file "reservedwords.texi" to the BK tree and the Makefiles, · c67dcb4b
      unknown authored
         so it's part of the distribution (manual.texi includes this file)
         It will be replaced with the correct one from the mysqldoc tree before
         building the distribution
       - removed generation and inclusion of MIRRORS file, since the mirror list
         is no longer part of manual.texi anyway
       - replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
       - Redirect standard error when checking for dpkg-architecture in ltconfig
         to avoid error message showing during configuration
      
      
      Docs/Makefile.am:
         - added reservedwords.texi (which gets included by manual.texi)
         - removed MIRRORS (mirror list is not part of the manual anymore)
      Docs/reservedwords.texi:
         - Updated wording a bit after adding it to the tree
      Makefile.am:
         - removed MIRRORS from EXTRA_DIST (it's not part of the manual anymore)
      ltconfig:
         - Redirect standard error when checking for dpkg-architecture
           to avoid error message showing during configuration (thanks to
           John Wythe for the patch)
      sql/Makefile.am:
         - replaced YFLAGS with AM_YFLAGS to make automake happy
      c67dcb4b
  36. 20 Dec, 2002 1 commit
  37. 11 Dec, 2002 1 commit
    • unknown's avatar
      rename of net_pkg.cc to protocol.cc · f918dfc8
      unknown authored
      Class for sending data from server to client (Protocol)
      This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      
      
      libmysql/libmysql.c:
        Jump over reserved bits in the binary protocol
      libmysqld/Makefile.am:
        rename of net_pkg.cc to protocol.cc
      mysql-test/r/case.result:
        Fixed previously wrong test
      mysql-test/r/cast.result:
        Fixed previously wrong test
      sql/Makefile.am:
        Rename of net_pkg.cc to protocol.cc
      sql/field.cc:
        Binary protocol
        Added key handling functions for new VARCHAR type
      sql/field.h:
        New protocol
      sql/ha_berkeley.cc:
        New protocol
      sql/ha_berkeley.h:
        New protocol
      sql/ha_innodb.cc:
        New protocol
      sql/ha_myisam.cc:
        New protocol
      sql/item.cc:
        New protocol
      sql/item.h:
        New protocol
      sql/item_func.cc:
        Removed old code from 3.23
      sql/item_func.h:
        Set cached_result_type as it was previosly used before set
      sql/item_subselect.cc:
        Standard make_field() is now good enough
      sql/item_subselect.h:
        Use default make_field()
      sql/item_sum.cc:
        Clean up Item_sum::make_field()
      sql/item_sum.h:
        Use standard make_field()
      sql/item_timefunc.h:
        return correct types for casts()
        Use standard make_field()
      sql/log_event.cc:
        New protocol
      sql/log_event.h:
        New protocol
      sql/mysql_priv.h:
        Move things to protocol.h
      sql/opt_range.cc:
        Indentation cleanups + small optimization
      sql/procedure.h:
        Use MYSQL_TYPE instead of FIELD_TYPE
      sql/protocol.cc:
        Class for sending data from server to client.
        This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      sql/repl_failsafe.cc:
        New protocol
      sql/slave.cc:
        New protocol
      sql/sql_acl.cc:
        New protocol
      sql/sql_base.cc:
        Move send_fields() to protocol.cc
      sql/sql_class.cc:
        New protocol
      sql/sql_class.h:
        New protocol
      sql/sql_db.cc:
        New protocol
      sql/sql_error.cc:
        New protocol
      sql/sql_handler.cc:
        New protocol
      sql/sql_help.cc:
        New protocol
      sql/sql_parse.cc:
        Remove wrong assert (variable was not initalized at this point)
      sql/sql_prepare.cc:
        New protocol
      sql/sql_repl.cc:
        New protocol
      sql/sql_select.cc:
        New protocol
      sql/sql_show.cc:
        New protocol
      sql/sql_string.h:
        New functions used by the protocol functions
      sql/sql_table.cc:
        New protocol
      sql/structs.h:
        Make second_part ulong to prepare for ANSI sub-seconds
      sql/time.cc:
        New convert function needed by the new protocol functions
      f918dfc8
  38. 26 Nov, 2002 1 commit