An error occurred fetching the project authors.
  1. 30 Dec, 2004 1 commit
    • unknown's avatar
      Clean up the handling of "server" and "client" directories, while still... · f116ac5c
      unknown authored
      Clean up the handling of "server" and "client" directories, while still avoiding the double listing of
      common directories in 'SUBDIRS' macro ("make distclean" had failed due to that).
      Solves bug#7368: "regex make error in 4.1.8"
      
      
      BitKeeper/etc/ignore:
        Added ndb/include/ndb_version.h ndb/include/ndb_global.h to the ignore list
      Makefile.am:
        Build the 'SUBDIRS' list from the new variable 'sql_union_dirs', not the old "client" and "servers" lists which will overlap.
        That overlap worked for build runs, but it caused failures of 'make distclean' etc because the overlapping directories
        were cleaned twice which could not work.
        Solves bug#7368: "regex make error in 4.1.8"
      configure.in:
        Introduce a new variable 'sql_union_dirs' to contain those directories which are needed for either server or client.
        This is needed to have complete "server" and "client" directory lists in 'Makefile' but prevent double listing
        in 'SUBDIRS' (see the comment for 'Makefile.am').
        Solves bug#7368: "regex make error in 4.1.8"
      f116ac5c
  2. 13 Dec, 2004 3 commits
  3. 15 Nov, 2004 1 commit
    • unknown's avatar
      changed compile order, mysqladmin with ndbcluster extensions needs ndb to be compiled first · 595d467d
      unknown authored
          added libs variable for ndbmgmclient used by mysqladmin
          add linkage with @ndb_mgmclient_libs@
          additional options for ndbcluster
          added support for managing the cluster to mysqladmin
          added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
          use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      
      
      Makefile.am:
        changed compile order, mysqladming with ndbcluster extensions needs ndb to be compiled first
      acinclude.m4:
        added libs variable for ndbmgmclient used by mysqladmin
      client/Makefile.am:
        add linkage with @ndb_mgmclient_libs@
      client/client_priv.h:
        additional options for ndbcluster
      client/mysqladmin.c:
        added support for managing the cluster to mysqladmin
      configure.in:
        added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
      include/my_global.h:
        use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      595d467d
  4. 26 Sep, 2004 1 commit
  5. 05 Aug, 2004 2 commits
  6. 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
  7. 24 Jun, 2004 2 commits
    • unknown's avatar
      Previous commit didn't make it (tree fix): I'd forgotten semicolon. · 1f65c22c
      unknown authored
      Makefile.am:
        Previous commit didn't make it: I'd forgotten semicolon.
      1f65c22c
    • unknown's avatar
      Fix of broken 4.1 tree: · 717be2d9
      unknown authored
      Initially my_time.c was added to sql/ link_sources target only.
      As it turns out this target is sometimes not called; instead of it
      make calls one hard-coded in top-level Makefile.am.
      Now adding linking of my_time.c to the top-level Makefile.am
      to (hopefully) cover all cases.
      
      
      Makefile.am:
        Fix of broken 4.1 tree: 
        - my_time.c was added to link_sources target.
      717be2d9
  8. 19 Jun, 2004 1 commit
  9. 26 May, 2004 1 commit
    • unknown's avatar
      netware files should always be in 'make dist' · 1d03d162
      unknown authored
      use opt_net_buffer_length instead of net_buffer_length
      
      
      Makefile.am:
        netware files should always be in 'make dist'
      client/mysqldump.c:
        use opt_net_buffer_length instead of net_buffer_length
      configure.in:
        netware files should always be in 'make dist'
      netware/Makefile.am:
        netware files should always be in 'make dist'
      1d03d162
  10. 28 Nov, 2003 1 commit
    • unknown's avatar
      Added missing SSL library (Should be in source distribution) · 76bf7d22
      unknown authored
      Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
      Added a lot of 'version_xxx' strings to 'show variables'
      Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      Fixed problem with printing sub selects to debug log
      
      
      Docs/mysqld_error.txt:
        Updated error messages
      Makefile.am:
        Added missing SSL library (Should be in source distribution)
      configure.in:
        Added missing SSL library
      include/sql_common.h:
        Move duplicated prototypes
      innobase/os/os0file.c:
        Added comment for line that could be removed
      innobase/srv/srv0srv.c:
        Added comment for line that could be removed
      innobase/srv/srv0start.c:
        Added comment for line that could be removed
      innobase/trx/trx0sys.c:
        Added cast to remove compiler warning
      isam/isamchk.c:
        Fixed compiler warning
      libmysql/conf_to_src.c:
        Include files in proper order
      myisam/mi_check.c:
        Removed else part that caused compiler warning
      myisam/mi_delete.c:
        Added cast
      myisam/mi_page.c:
        Added cast
      myisam/mi_preload.c:
        Added cast
      myisam/mi_write.c:
        Added cast
      myisam/myisampack.c:
        changed 'byte' to 'current_byte' to avoid compiler warnings
      mysql-test/mysql-test-run.sh:
        Removed start-from as test '<' is not portable and this can easily be done from command line
      mysys/hash.c:
        Added cast
      mysys/mf_wcomp.c:
        Removed not reached line
      mysys/my_append.c:
        Fixed include file order to get this more portable
      mysys/my_copy.c:
        Fixed include file order to get this more portable
      mysys/my_redel.c:
        Fixed include file order to get this more portable
      sql-common/client.c:
        More DBUG_PRINT
      sql-common/pack.c:
        Added casts becasue Fortre compiler apparently compares (ulonglong) < (longlong) as signed
      sql/ha_heap.cc:
        Changed variable names to not cause hidden variables
      sql/ha_innodb.cc:
        Changed variable names to not cause hidden variables
      sql/item.cc:
        Changed variable names to not cause hidden variables
      sql/item.h:
        Changed variable names to not cause hidden variables
      sql/item_cmpfunc.h:
        Changed variable names to not cause hidden variables
      sql/item_func.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.cc:
        Changed variable names to not cause hidden variables
      sql/item_subselect.h:
        Changed variable names to not cause hidden variables
      sql/item_sum.cc:
        Changed variable names to not cause hidden variables
      sql/item_timefunc.cc:
        Changed variable names to not cause hidden variables
      sql/log.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.cc:
        Changed variable names to not cause hidden variables
      sql/protocol.h:
        Changed variable names to not cause hidden variables
        Remove function not declared in protocol.cc
      sql/protocol_cursor.cc:
        Changed variable names to not cause hidden variables
      sql/set_var.cc:
        Added a lot of 'version_xxx' strings
        Changed 'bdb_version' to 'version_bdb'
      sql/sql_class.cc:
        Changed variable names to not cause hidden variables
        Add TMP_TABLE_PARAM::init() to allow one to initialize structure several times
      sql/sql_class.h:
        Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
      sql/sql_derived.cc:
        Avoid copying TMP_TABLE_PARAM (Use class version instead)
      sql/sql_error.cc:
        More DBUG
      sql/sql_help.cc:
        Fixed compiler warning
      sql/sql_lex.cc:
        Changed variable names to not cause hidden variables
      sql/sql_list.h:
        Changed variable names to not cause hidden variables
      sql/sql_parse.cc:
        Changed variable names to not cause hidden variables
      sql/sql_select.cc:
        Changed variable names to not cause hidden variables
        Ensure that you don't send NULL to printf() for %s
        Fixed problem with printing sub selects to debug log
      sql/sql_select.h:
        Changed variable names to not cause hidden variables
      sql/sql_union.cc:
        Changed variable names to not cause hidden variables
        Don't use local copy of TMP_TABLE_PARAM (Caused core dump on Solaris)
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Remove warning
      strings/conf_to_src.c:
        Fixed include file order
      76bf7d22
  11. 25 Nov, 2003 2 commits
    • unknown's avatar
      post-merge fixes · 8e9d7bc6
      unknown authored
      Makefile.am:
        spurious space (from a bad merge) deleted
      mysql-test/r/rpl_change_master.result:
        test results updated
      8e9d7bc6
    • unknown's avatar
      - Removed COPYING.LIB from all source and binary distributions · ea280fd3
      unknown authored
         after it was removed from manual.texi (where it was automatically
         generated from).
      
      
      Docs/Makefile.am:
         - don't create COPYING.LIB anymore (was removed from manual.texi)
      Makefile.am:
         - Removed COPYING.LIB from the source distribution
      scripts/make_binary_distribution.sh:
         - Removed COPYING.LIB from the binary distribution
      scripts/make_win_src_distribution.sh:
         - Removed COPYING.LIB from the windows source distribution
      support-files/mysql.spec.sh:
         - Removed COPYING.LIB from the Server RPM
      ea280fd3
  12. 26 Sep, 2003 1 commit
  13. 18 Jun, 2003 1 commit
  14. 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
  15. 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
  16. 11 Apr, 2003 1 commit
    • unknown's avatar
      Distribution cleanups: · ffb7fb40
      unknown authored
       - added Dummy file Docs/manual_toc.html to make "make dist" happy if the
         real manual.texi has not been copied into Docs/ (which would make sure
         a "real" manual_toc.html would be created
       - fixed symlinking in the bdb subdirectory (docs are not included anyway)
       - added dist-hook to Makefile.am to remove superfluous SCCS directories
         from the source distribution
      
      
      Makefile.am:
         - added dist-hook to remove superfluous SCCS directories from the source
           distribution
      bdb/dist/s_symlink:
         - don't try to create symlinks to nonexisting doc files
      ffb7fb40
  17. 25 Mar, 2003 1 commit
  18. 17 Feb, 2003 1 commit
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  19. 07 Feb, 2003 1 commit
  20. 03 Feb, 2003 1 commit
    • unknown's avatar
      - added missing files/directories from bdb and libedit to source distribution · a598cfbf
      unknown authored
       - make sure to not included BK's "SCCS" directories in source distribution
      
      
      Makefile.am:
         - make sure to not include BKs "SCCS" directories in the source distribution
      bdb/Makefile.in:
         - added missing subdirectories to source distribution
      cmd-line-utils/libedit/Makefile.am:
         - added missing files to source distribution
      a598cfbf
  21. 28 Jan, 2003 2 commits
    • unknown's avatar
      - added netware subdirectory to distribution · 8b790656
      unknown authored
      Makefile.am:
         - added netware to SUBDIRS
      netware/Makefile.am:
         - add netware.patch to distribution
      8b790656
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
  22. 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
  23. 23 Jan, 2003 1 commit
  24. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  25. 23 Dec, 2002 1 commit
    • unknown's avatar
      - Applied various patches provided by Christian Hammers (MySQL maintainer · a3444f37
      unknown authored
         for the Debian project) to fix some architecture-specific problems
         and some bugs
      
      
      Makefile.am:
         - put current directory (.) at front of SUBDIRS list, so that "distclean" 
           is done last. IF done first, "distclean" in include directory fails
           because config.h is missing, which is removed by distclean in current
           directory. (thanks to "jww" for the patch)
         - make "distclean" in libmysql_r, too (Thanks to Christian Hammers from the
           Debian project for the patch)
      bdb/dist/aclocal/mutex.m4:
         - Sparc patch for mutexes/pthreads from Christopher C. Chimelis and
           Ben Collins from Debian (thanks to Christian Hammers from the Debian
           project for forwarding it)
      bdb/include/mutex.h:
         - Patch for building on m68k architecture (originally provided
           by Michael Fedrowitz for Debian Linux, thanks to Christian Hammers from
           the Debian project for forwarding it)
      ltconfig:
         - A hardcoded "rpath" is forbidden by the Debian policy (thanks to
           Christian Hammers from the Debian project for forwarding this patch)
      man/isamchk.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/isamlog.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysql.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysql_zap.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysqlaccess.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysqladmin.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysqld.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysqld_multi.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/mysqldump.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
         - fixed nroff mistake
      man/mysqlshow.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/perror.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/replace.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      man/safe_mysqld.1:
         - some syntactical correction in the headlines of the manpages for
           apropos(1) (Thanks to Christian Hammers from the Debian project for
           the patch)
      scripts/mysql_fix_privilege_tables.sh:
         - fixed some typos
         - script cleanup
      scripts/mysqlaccess.sh:
         - make $script_log path less dependent on the shell
      scripts/safe_mysqld.sh:
         - applied patch provided by Debian to enhance security (This way all logs 
           and databases are created world-nothing).
      a3444f37
  26. 22 Jul, 2002 1 commit
  27. 17 May, 2002 1 commit
    • unknown's avatar
      Added os2 source directory to source distribution · ce6ea95c
      unknown authored
      (thanks to Yuri Dario <mc6530@mclink.it> for pointing this out)
      
      
      Makefile.am:
        Added OS/2 subdirectory to source distribution
      configure.in:
        Added OS/2 subdirectory to source distribution
      ce6ea95c
  28. 15 May, 2002 1 commit
    • unknown's avatar
      Fixed sql_yacc.yy to be compatible with bison 1.31 and above. · 00d62e8d
      unknown authored
      Made detection of GNU tar a bit more flexible.
      Only use /usr/local/mysql-glibc if it actually exists
      
      
      Build-tools/Do-linux-build:
        Only use the "--with-other-libc" parameter, if another libc actually
        exists at this location
      Makefile.am:
        Removed hard-coded tar binary name
      configure.in:
        Added check for GNU tar with various names
      sql/sql_yacc.yy:
        Added semicolons to several expressions to make bison 1.31 and above
        happy when used in Yacc compatibility mode. From the bison NEWS:
        
          "Bison has always permitted actions such as { $$ = $1 }: it adds the
          ending semicolon.  Now if in Yacc compatibility mode, the semicolon
          is no longer output: one has to write { $$ = $1; }."
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      00d62e8d
  29. 03 May, 2002 1 commit
    • unknown's avatar
      Reworked the RPM spec file and added several fixes to make the · 7c510b93
      unknown authored
      build scripts work again.
      
      
      BUILD/compile-pentium-max:
        Added "--with-embedded-server" to have the libmysqld files included
        in the source distribution when using "make dist"
      Build-tools/Do-linux-build:
        Only use the "--with-other-libc" parameter, if another libc actually
        exists, since this will also force static linking, which does not work
        together with OpenSSL
      Makefile.am:
        Removed hard-coded file name for TAR, let configure do this instead
        (many systems actually ship GNU tar installed as "tar" instead of
        "gtar")
      configure.in:
        Added check for GNU tar named "gtar", fall back to "tar" if "gtar"
        was not found (and hope, that it's a GNU tar as well - this should
        probably be checked more properly)
      include/Makefile.am:
        Added "my_semaphore.h" to pkginclude_HEADERS since it was missing
        from the distribution
      strings/Makefile.am:
        Added "longlong2str.c" since it was missing from the distribution
      support-files/mysql.server.sh:
        Added LSB-compatible header info to make init script more portable
      support-files/mysql.spec.sh:
        - Use more RPM macros (e.g. infodir, mandir) to make the spec
          file more portable
        - reorganized the installation of documentation files: let RPM
          take care of this
        - reorganized the file list: actually install man pages along
          with the binaries of the respective subpackage
        - don't include libmysqld.a in the devel subpackage as well, if we
          have a special "embedded" subpackage
        - reworked the package descriptions
      7c510b93
  30. 20 Jan, 2002 1 commit
    • unknown's avatar
      Here comes a nasty patch, although I am not ready to push it yet. I will · 5df61c3c
      unknown authored
      first pull, merge,test, and get it to work.
      
      The main change is the new replication code - now we have two slave threads
      SQL thread and I/O thread. I have also re-written a lot of the code to 
      prepare for multi-master implementation. 
      
      I also documented IO_CACHE quite extensively and to some extend, THD class.
      
      
      Makefile.am:
        moved tags target script into a separate file
      include/my_sys.h:
        fixes in IO_CACHE for SEQ_READ_APPEND + some documentation
      libmysqld/lib_sql.cc:
        updated replication locks, but now I see I did it wrong and it won't compile. Will fix
        before the push.
      mysql-test/r/rpl000014.result:
        test result update
      mysql-test/r/rpl000015.result:
        test result update
      mysql-test/r/rpl000016.result:
        test result update
      mysql-test/r/rpl_log.result:
        test result update
      mysql-test/t/rpl000016-slave.sh:
        remove relay logs
      mysql-test/t/rpl000017-slave.sh:
        remove relay logs
      mysql-test/t/rpl_log.test:
        updated test
      mysys/mf_iocache.c:
        IO_CACHE updates to make replication work
      mysys/mf_iocache2.c:
        IO_CACHE update to make replication work
      mysys/thr_mutex.c:
        cosmetic change
      sql/item_func.cc:
        new replication code
      sql/lex.h:
        new replication
      sql/log.cc:
        new replication
      sql/log_event.cc:
        new replication
      sql/log_event.h:
        new replication
      sql/mini_client.cc:
        new replication
      sql/mini_client.h:
        new replication
      sql/mysql_priv.h:
        new replication
      sql/mysqld.cc:
        new replication
      sql/repl_failsafe.cc:
        new replication
      sql/slave.cc:
        new replication
      sql/slave.h:
        new replication
      sql/sql_class.cc:
        new replication
      sql/sql_class.h:
        new replication
      sql/sql_lex.h:
        new replication
      sql/sql_parse.cc:
        new replication
      sql/sql_repl.cc:
        new replication
      sql/sql_repl.h:
        new replication
      sql/sql_show.cc:
        new replication
      sql/sql_yacc.yy:
        new replication
      sql/stacktrace.c:
        more robust stack tracing
      sql/structs.h:
        new replication code
      BitKeeper/etc/ignore:
        Added mysql-test/r/rpl000002.eval mysql-test/r/rpl000014.eval mysql-test/r/rpl000015.eval mysql-test/r/rpl000016.eval mysql-test/r/slave-running.eval mysql-test/r/slave-stopped.eval to the ignore list
      5df61c3c
  31. 02 Jan, 2002 1 commit
    • unknown's avatar
      Added macros for nice TIMESPEC usage. · f4fee3d9
      unknown authored
      Fixes for building MySQL with gcc 3.0
      Added SIGNED / UNSIGNED casts
      Fixed core dump bug in net_clear() with libmysqld.
      Back to using semaphores in query cache.
      Added 'Null' and 'Index_type' to SHOW INDEX.
      
      
      BUILD/FINISH.sh:
        Fixes for gcc 3.0
      BUILD/SETUP.sh:
        Fixes for gcc 3.0
      Docs/manual.texi:
        Changelog + SIGNED/UNSIGNED casts.
      Makefile.am:
        include BUILD scripts in source distribution.
      client/Makefile.am:
        Fixes for gcc 3.0
      client/mysql.cc:
        Cleanup
      client/mysqldump.c:
        Changed 'K' to mean 'disable-keys' instead of 'no-disabled-keys'
      client/readline.cc:
        Cleanup
      configure.in:
        Include BUILD in source distrbution
      extra/my_print_defaults.c:
        Cleanup
      include/my_global.h:
        Fix for HPUX and setrlimit.
        Portability fix.
        Added macros for nice TIMESPEC usage.
      innobase/include/dyn0dyn.h:
        Fix for AIX
      libmysql/Makefile.shared:
        Added strxmov to libmysqld
      libmysqld/examples/Makefile.am:
        Fixes for gcc 3.0
      libmysqld/lib_vio.c:
        Cleanup
      myisam/ft_dump.c:
        Portability fixes
      myisam/ftdefs.h:
        Portability fixes
      mysql-test/r/bdb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/bigint.result:
        New test for SIGNED/UNSIGNED
      mysql-test/r/fulltext.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/heap.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/innodb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/isam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/key.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/myisam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/query_cache.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/select.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/show_check.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/type_ranges.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/t/bigint.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/key.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/query_cache.test:
        Test for FOUND_ROWS()
      sql-bench/crash-me.sh:
        Safety fixes
      sql/derror.cc:
        Cleanup
      sql/ha_berkeley.h:
        New test for SIGNED/UNSIGNED
      sql/ha_heap.h:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.h:
        New test for SIGNED/UNSIGNED
      sql/ha_isam.h:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.h:
        New test for SIGNED/UNSIGNED
      sql/handler.h:
        New test for SIGNED/UNSIGNED
      sql/item_func.cc:
        Cleanup TIMESPEC usage
      sql/item_func.h:
        Added SIGNED / UNSIGNED casts
      sql/lex.h:
        Added SIGNED / UNSIGNED casts
      sql/mysqld.cc:
        Cleanup TIMESPEC usage
      sql/net_pkg.cc:
        Cleanup
      sql/net_serv.cc:
        Fixed core dump bug in net_clear()
      sql/slave.cc:
        Cleanup
      sql/sql_cache.cc:
        Back to using semaphores
      sql/sql_cache.h:
        Back to using semaphores
      sql/sql_insert.cc:
        Cleanup TIMESPEC usage
      sql/sql_manager.cc:
        Cleanup TIMESPEC usage
      sql/sql_parse.cc:
        Cleanup
      sql/sql_repl.cc:
        Cleanup TIMESPEC usage
      sql/sql_show.cc:
        Added 'Null' and 'Index_type' to SHOW INDEX.
      sql/sql_table.cc:
        Sort keys in table in a more logical order.
      sql/sql_yacc.yy:
        Support for SIGNED/UNSIGNED casts.
      f4fee3d9
  32. 03 Dec, 2001 1 commit
  33. 18 Sep, 2001 1 commit
    • unknown's avatar
      Another attempt to get pstack into the binary distribution · e154b30a
      unknown authored
      Fixed that --enable-assembler works on newer Linux system
      
      
      Makefile.am:
        Another attempt to get pstack into the binary distribution
      configure.in:
        Fixed that --enable-assembler works on newer Linux system
        Fixes for pstack
      pstack/Makefile.am:
        Another attempt to get pstack into the binary distribution
      e154b30a
  34. 17 Sep, 2001 1 commit
    • unknown's avatar
      Add some examples for using libmysqld, including a hack for running the · 5fffbb12
      unknown authored
      mysql test suite.
      
      A few minor libmysqld fixes.
      
      Add mysql_server_init() and _end() to mysql.cc and mysqltest.c, so they
      can be linked against libmysqlclient or libmysqld.
      
      
      sql/mysqld.cc:
        have unireg_end() exit(), instead of pthread_exit()
        if inside the EMBEDDED_LIBRARY.  This is a hack
        which hopefully won't be needed.  But without it,
        the program hangs at end.
      client/mysql.cc:
        Don't call mysql_ssl_clear() unless HAVE_OPENSSL.
      client/mysqltest.c:
        Add mysql_server_init() and _end().
      acinclude.m4:
        change .. to $(top_builddir) in innodb_libs
      Makefile.am:
        Add libmysqld/examples to link_sources target
      configure.in:
        output libmysqld/examples/Makefile
        Also, change .. to $(top_builddir) in readline_link
      BitKeeper/etc/ignore:
        added linked_libmysqldex_sources
      mysql-test/mysql-test-run.sh:
        use latin1, not latin1_de, in tests
      libmysqld/libmysqld.c:
        Add replication functions.
      5fffbb12