Commit graph

7940 commits

Author SHA1 Message Date
unknown
59e8c55356 - increased bdb_max_lock value to pass sql-bench
- re-enabled OpenSSL for the Max RPM package


Build-tools/Do-compile:
   - increased bdb_max_lock value from 60000 -> 240000
     (got many errors "Lock table is out of available locks" when running
     sql-bench with InnoDB)
support-files/mysql.spec.sh:
   - re-enabled OpenSSL for the 4.1 Max RPM
2003-04-02 14:38:25 +02:00
unknown
aee0d02abd Auto merged
BitKeeper/etc/logging_ok:
  auto-union
2003-04-02 18:15:16 +06:00
unknown
6feda00ddb SCRUM
correct sql_alloc, ORDER BY and NULL value in group_concat
add comments
move test msg_arg
add test on NULL


mysql-test/r/func_gconcat.result:
  change work with NULL
mysql-test/t/func_gconcat.test:
  add test on NULL
sql/item_sum.cc:
  correct sql_alloc, ORDER BY and NULL value
  add comments
sql/sql_class.h:
  move test msg_arg
2003-04-02 17:55:53 +06:00
unknown
69b8b99a39 Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.sp
2003-04-02 15:39:57 +05:00
unknown
c709993b0a GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(),
LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
functions have been added (as synonyms for GEOMFROMWKB()).


mysql-test/t/gis.test:
  GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(),
  LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
  MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
  MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
  functions have been added (as synonyms for GEOMFROMWKB()).
sql/lex.h:
  GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(),
  LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
  MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
  MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
  functions have been added (as synonyms for GEOMFROMWKB()).
2003-04-02 15:38:06 +05:00
unknown
0aa16ffd2a Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into george.bitbike.com:/home/arjen/mysql-4.1
2003-04-02 20:12:57 +10:00
unknown
18f5da4412 prepare.texi merged into manual (mysqldoc tree), file removed.
BitKeeper/deleted/.del-prepare.texi~20a263ee73a181f:
  Delete: Docs/prepare.texi
2003-04-02 20:12:01 +10:00
unknown
fb9a939416 Fixed problem with const table named with crashed test suite on MacOSX
myisam/mi_test3.c:
  Fixed compiler warning
myisam/rt_test.c:
  Fixed compiler warning
2003-04-02 13:06:33 +03:00
unknown
9a68ee7581 Tiny optimisation for a (boolean || boolean) test, as SQL_LOG_BIN is set to 1 by default
sql/sql_insert.cc:
  Tiny optimisation
2003-04-02 10:59:21 +02:00
unknown
590d769e2c Deprecated the update log (Sprint task #792). Now --log-update
just turns on --log-bin and prints a warning. SQL_LOG_UPDATE
is handled in two ways (see mysqld.cc for comments).


include/mysqld_error.h:
  deprecated update log
sql/log.cc:
  deprecated update log
sql/mysqld.cc:
  deprecated update log
sql/set_var.cc:
  deprecated update log
sql/share/czech/errmsg.txt:
  deprecated update log
sql/share/danish/errmsg.txt:
  deprecated update log
sql/share/dutch/errmsg.txt:
  deprecated update log
sql/share/english/errmsg.txt:
  deprecated update log
sql/share/estonian/errmsg.txt:
  deprecated update log
sql/share/french/errmsg.txt:
  deprecated update log
sql/share/german/errmsg.txt:
  deprecated update log
sql/share/greek/errmsg.txt:
  deprecated update log
sql/share/hungarian/errmsg.txt:
  deprecated update log
sql/share/italian/errmsg.txt:
  deprecated update log
sql/share/japanese/errmsg.txt:
  deprecated update log
sql/share/korean/errmsg.txt:
  deprecated update log
sql/share/norwegian-ny/errmsg.txt:
  deprecated update log
sql/share/norwegian/errmsg.txt:
  deprecated update log
sql/share/polish/errmsg.txt:
  deprecated update log
sql/share/portuguese/errmsg.txt:
  deprecated update log
sql/share/romanian/errmsg.txt:
  deprecated update log
sql/share/russian/errmsg.txt:
  deprecated update log
sql/share/serbian/errmsg.txt:
  deprecated update log
sql/share/slovak/errmsg.txt:
  deprecated update log
sql/share/spanish/errmsg.txt:
  deprecated update log
sql/share/swedish/errmsg.txt:
  deprecated update log
sql/share/ukrainian/errmsg.txt:
  deprecated update log
sql/sql_acl.cc:
  deprecated update log
sql/sql_db.cc:
  deprecated update log
sql/sql_delete.cc:
  deprecated update log
sql/sql_insert.cc:
  deprecated update log
sql/sql_load.cc:
  deprecated update log
sql/sql_parse.cc:
  deprecated update log
sql/sql_rename.cc:
  deprecated update log
sql/sql_table.cc:
  deprecated update log
sql/sql_update.cc:
  deprecated update log
2003-04-02 00:15:20 +02:00
unknown
3258bb7248 Sprint task #856 : make table exclusion rules (in replication)
apply to GRANT and REVOKE too. For example if replicate-wild-ignore-table=mysql.%,
GRANT and REVOKE will not be replicated on the slave.
2003-04-01 22:49:40 +02:00
unknown
b13b181249 Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-04-01 20:01:59 +03:00
unknown
241b6c058d Small-and-safe fix for bug #218: "LOAD DATA INFILE IGNORE is well
logged, but read as LOAD DATA INFILE REPLACE"
This was just bad && instead of &, but nasty consequences.
This should be merged to 4.0 BUT it will not be automatic (some code
has moved from log_event.h to log_event.cc, and log_event.cc has changed);
please Merging Man, do 'bk grep REPLACE_FLAG' in 4.0/sql
to find all the new places.


sql/log_event.cc:
  & instead of && when testing flags
sql/slave.cc:
  & instead of && when testing flags
2003-04-01 18:19:15 +02:00
unknown
4b06bc8451 cp1257.xml, Index.xml:
cp1257 is Lithuanian sorting


sql/share/charsets/Index.xml:
  cp1257 is Lithuanian sorting
sql/share/charsets/cp1257.xml:
  cp1257 is Lithuanian sorting
2003-04-01 19:03:02 +05:00
unknown
2c7fdb5d20 Some collation have been renamed to fit into convension 2003-04-01 18:54:01 +05:00
unknown
cc2c0b6df3 Standard charset names:
pclatin1 -> cp850
pclatin2 -> cp852


BitKeeper/deleted/.del-pclatin1.xml~d42c4a35e61526fa:
  Delete: sql/share/charsets/pclatin1.xml
BitKeeper/deleted/.del-pclatin2.xml~419e68f6672a99a:
  Delete: sql/share/charsets/pclatin2.xml
2003-04-01 17:49:24 +05:00
unknown
9ca3d719e7 charset2html.c:
It's now working under HTTPD as a CGI. Very convenient!


mysys/charset2html.c:
  It's now working under HTTPD as a CGI. Very convenient!
2003-04-01 17:26:28 +05:00
unknown
158b54873a mbcharlen() is now used instead of ismbhead(). The last one has been removed. 2003-04-01 15:52:09 +05:00
unknown
75bcfdb14f Bug fix: should use my_free() instead of my_afree() after my_multi_malloc(). 2003-04-01 15:33:09 +05:00
unknown
640f31bdc8 my_strncasecmp() is not used anymore. Use my_strncoll() instead. 2003-04-01 14:17:28 +05:00
unknown
db628b97a5 Some optimization in CHARSET_INFO:
We don't need separate hash_sort() and hash_caseup()
  We don't need tosort(). strnxfrm will do the same.
2003-04-01 12:45:16 +05:00
unknown
c7db0a813c Better error message 2003-04-01 10:26:36 +05:00
unknown
1fa8f0224b Merge abarkov@build.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
2003-04-01 09:29:22 +05:00
unknown
5966ce40d9 sql_string.cc:
We finally decided that national character set is utf8 :)


sql/sql_string.cc:
  We finally decided that national character set is utf8 :)
2003-04-01 09:28:53 +05:00
unknown
dd5f58ca36 New XDC file for NetWare pre-emption
BitKeeper/deleted/.del-mysqld.xdc~1befdfee55e31716:
  Delete: netware/mysqld.xdc
2003-03-31 18:09:13 -05:00
unknown
7257dd93c3 Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1
into eagle.mysql.r18.ru:/home/vva/work/RUS_READLINE/mysql-4.1
2003-03-31 19:09:12 -04:00
unknown
bf5f0556c3 Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1
into eagle.mysql.r18.ru:/home/vva/work/RUS_READLINE/mysql-4.1
2003-03-31 18:44:10 -04:00
unknown
2971664214 temporary trick for work with different locales (koi8r for example) 2003-03-31 18:39:14 -04:00
unknown
76bd917526 don't increment LAST_INSERT_ID() when incremented value cannot be stored in auto_increment column (e.g. is too big)
mysql-test/r/auto_increment.result:
  more tests
mysql-test/t/auto_increment.test:
  more tests
2003-03-31 23:14:26 +04:00
unknown
7bf6bd51ff Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/greg/bk/mysql-4.0
2003-03-31 11:28:41 -05:00
unknown
3294aac1bf Add new XDC file for NetWare pre-emption, drop old build scripts, libmysqld.def
BitKeeper/deleted/.del-mysqld.xdc~1befdfee55e31716:
  Delete: netware/mysqld.xdc
BitKeeper/deleted/.del-nwbootstrap~f3bc723dad4ed7e:
  Delete: netware/nwbootstrap
BitKeeper/deleted/.del-nwconfigure~86da352b5e031ed9:
  Delete: netware/nwconfigure
BitKeeper/deleted/.del-libmysqld.def~6ca0fa0537a3431c:
  Delete: netware/libmysqld.def
2003-03-31 11:28:20 -05:00
unknown
21f1b11fa8 Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
into genie.(none):/home/hf/work/mysql-5.0.kil
2003-03-31 21:19:15 +05:00
unknown
2e3527b758 lex.h:
Use MBRContains() style for what we have implemented. Contains() will be used for real "contains" relation in the future.


sql/lex.h:
  Use MBRContains() style for what we have implemented. Contains() will be used for real "contains" relation in the future.
2003-03-31 19:53:50 +05:00
unknown
45802e08b1 - Fix for bug #200 (added missing @WRAPLIBS@ to LIBS in
libmysqld/examples/Makefile.am (thanks to Christian Hammers from Debian
   for pointing this out)


libmysqld/examples/Makefile.am:
   - added missing @WRAPLIBS@ to LIBS
2003-03-31 14:50:29 +02:00
unknown
5d8b2aba63 Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-03-31 15:23:16 +03:00
unknown
c0160bb591 Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
into genie.(none):/home/hf/work/mysql-5.0.kil


include/mysql_com.h:
  Auto merged
myisam/mi_check.c:
  Auto merged
sql/filesort.cc:
  Auto merged
sql/ha_myisam.cc:
  Auto merged
sql/lex.h:
  Auto merged
sql/lock.cc:
  Auto merged
sql/log_event.cc:
  Auto merged
sql/mysql_priv.h:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/slave.cc:
  Auto merged
sql/sql_base.cc:
  Auto merged
sql/sql_cache.cc:
  Auto merged
sql/sql_class.cc:
  Auto merged
sql/sql_class.h:
  Auto merged
sql/sql_insert.cc:
  Auto merged
sql/sql_parse.cc:
  Auto merged
sql/sql_prepare.cc:
  Auto merged
sql/sql_repl.cc:
  Auto merged
sql/sql_repl.h:
  Auto merged
sql/sql_select.cc:
  Auto merged
sql/sql_show.cc:
  Auto merged
sql/sql_table.cc:
  Auto merged
sql/sql_update.cc:
  Auto merged
sql/sql_yacc.yy:
  Auto merged
sql/share/polish/errmsg.txt:
  Auto merged
sql/share/russian/errmsg.txt:
  Auto merged
sql/share/swedish/errmsg.txt:
  Auto merged
2003-03-31 13:42:37 +05:00
unknown
3814f2a8ed SCRUM
two KILL commands implementation (version 2)


include/mysqld_error.h:
  Error message about query interruption added
myisam/mi_check.c:
  killed_ptr now retutns only value - not pointer
myisam/myisamchk.c:
  killed_ptr returns value now
myisam/myisamdef.h:
  killed_ptr returns value now
myisam/sort.c:
  killed_ptr returns value now
sql/filesort.cc:
  THD::killed now has enum type
sql/ha_berkeley.cc:
  THD::killed has enum type
sql/ha_myisam.cc:
  killed_ptr returns value now
sql/lock.cc:
  two different errors possible here now
sql/log_event.cc:
  two ways of killing possible here now
sql/mysqld.cc:
  THD::killed has enum type now
sql/records.cc:
  two errors are possible here now
sql/share/czech/errmsg.txt:
  new error message
sql/share/danish/errmsg.txt:
  new error message
sql/share/dutch/errmsg.txt:
  new error message
sql/share/english/errmsg.txt:
  new error message
sql/share/estonian/errmsg.txt:
  new error message
sql/share/french/errmsg.txt:
  new error message
sql/share/german/errmsg.txt:
  new error message
sql/share/greek/errmsg.txt:
  new error message
sql/share/hungarian/errmsg.txt:
  new error message
sql/share/italian/errmsg.txt:
  new error message
sql/share/japanese/errmsg.txt:
  new error message
sql/share/korean/errmsg.txt:
  new error message
sql/share/norwegian-ny/errmsg.txt:
  new error message
sql/share/norwegian/errmsg.txt:
  new error message
sql/share/polish/errmsg.txt:
  new error message
sql/share/portuguese/errmsg.txt:
  new error message
sql/share/romanian/errmsg.txt:
  new error message
sql/share/russian/errmsg.txt:
  new error message
sql/share/serbian/errmsg.txt:
  new error message
sql/share/slovak/errmsg.txt:
  new error message
sql/share/spanish/errmsg.txt:
  new error message
sql/share/swedish/errmsg.txt:
  new error message
sql/share/ukrainian/errmsg.txt:
  new error message
sql/slave.cc:
  two errors are possible here now
sql/sql_base.cc:
  THD::killed has enum type now
sql/sql_cache.cc:
  THD::killed has enum type now
sql/sql_class.cc:
  THD::awake implementation changed to handle KILL_QUERY
sql/sql_class.h:
  class THD changed to handle KILL_QUERY
sql/sql_delete.cc:
  two errors are possible here now
sql/sql_insert.cc:
  THD::killed has enum type now
sql/sql_load.cc:
  two errors are possible here now
sql/sql_parse.cc:
  kill_one_thread function changed to handle KILL_QUERY
sql/sql_prepare.cc:
  two errors are possible here now
sql/sql_repl.cc:
  the parameter to awake is of THD::killed_state type now
sql/sql_repl.h:
  awake parameter changed
sql/sql_select.cc:
  two errors are possible here now
sql/sql_show.cc:
  notification adopted to changes in class THD
sql/sql_table.cc:
  two errors are possible here now
sql/sql_update.cc:
  two errors are possible here now
2003-03-31 13:39:46 +05:00
unknown
d0038aa7d5 Bug fix: should use my_multi_malloc() here!!! 2003-03-31 13:32:34 +05:00
unknown
60e7ad754f Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/bk/mysql-5.0
2003-03-31 10:27:03 +02:00
unknown
48d0071395 ALTER TABLE didn't remember the exact
geometry type (POINT, LINESTRING, etc)
and changed all into "GEOMETRY".
2003-03-31 09:19:20 +05:00
unknown
a6614aae0a Added quotes around CREATE DATABASE IF EXISTS name if -Q was given. 2003-03-30 19:36:14 +03:00
unknown
5380411728 truncating REPLACE result bug fix
mysql-test/r/func_str.result:
  test result for truncating REPLACE result
mysql-test/t/func_str.test:
  test with long arguments for REPLACE
sql/item_strfunc.cc:
  fix for counting REPLACE result length
2003-03-30 18:36:01 +05:00
unknown
cc0f1f15cd Implemented DEFAULT for DECLARE variables.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-03-30 13:25:43 +02:00
unknown
7e13ac1242 ft benchmark suite: initial checkin
BitKeeper/etc/ignore:
  Added myisam/ftbench/data myisam/ftbench/t to the ignore list
2003-03-29 20:40:03 +03:00
unknown
a6ef8839a9 Added quotes around database name, when using -Q. 2003-03-29 16:59:03 +02:00
unknown
552768cc4c Fix for a crashing bug in union.
Parameters for temporary tables were created locally in the function
and it's address passed to a field in select_result, which produced
random errors when MyISAM table was created based on this bogus
address.
2003-03-29 16:41:01 +02:00
unknown
9c3d7df569 Manual merge of Novell's changes for NetWare platform from 4.0, 4.1 patches
client/mysql.cc:
  NetWare only: Remove pthread_yield on large screen results
client/mysqldump.c:
  NetWare only: Remove pthread_yield on large screen results
include/my_pthread.h:
  NetWare only: pthread_cond_timedwait now present in LibC
mysys/default.c:
  Add conditional for NetWare
mysys/my_init.c:
  Changes to netware_init
mysys/my_pthread.c:
  NetWare only: special my_pthread_cond_timedwait no longer needed
mysys/thr_mutex.c:
  NetWare: no need for pthread_mutex_lock calls
netware/BUILD/mwenv:
  Add zlib to environment variables
netware/Makefile.am:
  Add isam/isamchk.def to netware_build_files
scripts/make_binary_distribution.sh:
  Made bin directory files more flexible for alternate platforms, without unnecessary repetition
2003-03-28 14:24:32 -05:00
unknown
028d2350ed Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/bk/mysql-5.0
2003-03-28 18:27:37 +01:00
unknown
771237ce30 Renamed .del-makefile.w32 to .del-makefile3.w32
BitKeeper/deleted/.del-makefile3.w32:
  Rename: BitKeeper/deleted/.del-makefile.w32 -> BitKeeper/deleted/.del-makefile3.w32
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-03-28 18:27:36 +01:00
unknown
e22976638d Check for thd->killed in execution loop. (Makes more graceful behaviour in
certain interrupt cases.)
2003-03-28 17:02:31 +01:00