Commit graph

5455 commits

Author SHA1 Message Date
unknown
f1c832d397 Add log lines to crash-me result file
sql-bench/crash-me.sh:
  add tagline for emacs 
  add log lines to result file
  remove wrong prompt for WEEK()
sql-bench/server-cfg.sh:
  cleanup field conversation
2002-12-16 22:55:29 +05:00
unknown
25c8f58ac7 - Fix handling of suffix option
- Replace function 'check_reserved_words' with correct one


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-12 11:06:55 +02:00
unknown
b870cfa595 log.cc:
We must not commit inside InnoDB when LOAD DATA INFILE just writes a block to the binlog; only commit if the log event type is QUERY_EVENT or EXECUTE_LOAD_EVENT


sql/log.cc:
  We must not commit inside InnoDB when LOAD DATA INFILE just writes a block to the binlog; only commit if the log event type is QUERY_EVENT or EXECUTE_LOAD_EVENT
2002-12-11 21:24:28 +02:00
unknown
7c625dc5bc Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-11 21:24:27 +02:00
unknown
182de7c203 Add CHARSET keyword (missing from last push)
sql/field.cc:
  Small safety fix
2002-12-11 21:22:57 +02:00
unknown
aaf9a98e13 - moved manual pages from "man" to "man/man1" for the binary distribution 2002-12-11 19:37:09 +01:00
unknown
1891aea755 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2002-12-11 16:34:09 +01:00
unknown
934f5cc466 Ensure that BEGIN / COMMIT is handled properly if slave dies
Added syntax support for
CREATE TABLE foo (a char CHARACTER SET latin1) CHARSET=latin1;


Docs/internals.texi:
  Update binary protocol description
innobase/include/db0err.h:
  Merge from 3.23
mysql-test/r/insert.result:
  Updated test result from 3.23
sql/log.cc:
  Fixed bug in replication and log rotation
sql/log_event.cc:
  Ensure that BEGIN / COMMIT is handled properly if slave dies
sql/slave.cc:
  Fixed bug in replication and log rotation
sql/slave.h:
  Ensure that BEGIN / COMMIT is handled properly if slave dies
sql/sql_analyse.cc:
  Moved usage of res before res is destroyed (by bzero(&s...))
sql/sql_yacc.yy:
  Added syntax support for
  
  CREATE TABLE foo (a char CHARACTER SET latin1) CHARSET=latin1;
  
  To be able to read MySQL 4.1 dump files.
2002-12-11 15:46:39 +02:00
unknown
3c9b877b19 Merge with 3.23
innobase/dict/dict0dict.c:
  Auto merged
libmysql/libmysql.c:
  Auto merged
scripts/make_binary_distribution.sh:
  Auto merged
sql/mysqld.cc:
  Auto merged
sql/sql_udf.cc:
  Auto merged
sql/ha_innodb.cc:
  Auto merged
innobase/include/db0err.h:
  Skiped merge (Heikki wants to do this)
innobase/row/row0mysql.c:
  Skiped merge (Heikki wants to do this)
sql/sql_show.cc:
  Use local code
2002-12-11 13:32:31 +02:00
unknown
49162e0e54 Added back -max to server name if we are using InnoDB.
libmysql/libmysql.c:
  Compatibility fix
sql/mysqld.cc:
  Added back -max if we are using InnoDB.
  (This should not be done in the 3.23 version)
2002-12-11 12:59:55 +02:00
unknown
2076f2b44c Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 2002-12-11 12:44:50 +02:00
unknown
f3b563df03 Fixed rare bug in show processlist which could cause core dump if a new thread was connecting.
sql/sql_show.cc:
  Fixed rare bug in show processlist which could cause core dump if a new thread was connecting.
  (We where calling mutex_unlock() without having ever called mutex_lock)
sql/sql_udf.cc:
  Fixed warning from valgrind
2002-12-11 12:44:17 +02:00
unknown
3bbf4e9701 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-10 21:38:30 +01:00
unknown
5fcd6ce31e order_by.result, key_diff.result:
updated


mysql-test/r/key_diff.result:
  updated
mysql-test/r/order_by.result:
  updated
2002-12-10 21:38:00 +01:00
unknown
ae70283125 Merge akishkin@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/walrus/bk/40.ibase


BitKeeper/etc/logging_ok:
  auto-union
sql-bench/server-cfg.sh:
  Auto merged
2002-12-10 19:13:31 +05:00
unknown
448644dc6b SCRUM task - cleanup interbase section in the server-cfg
sql-bench/server-cfg.sh:
  clean-up interbase section
  corrected misprint in DSN,
  creating indexes,version(), and fields conversations.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-10 19:09:56 +05:00
unknown
89991c65f3 merge Ranger's patches to crash-me, add new tests ( DEFAULT VALUES )
to crash-me 


sql-bench/crash-me.sh:
  new tests:
      - INSERT with DEFAULT:
      - INSERT with empty value list:
      - Insert DEFAULT VALUES;
  -------
  -checking of reserved keywords (by courtesy of Ranger)
  --------
  - added "--suffix" option 
  - added description of "--config-file" to help section
  - fixed test for DIFFERENCE()
  - fixed small bug in safe_query_result (was s/,/,/ should s/,/./)
     (by courtesy of Ranger)
sql-bench/server-cfg.sh:
  remove "KERNEL" and add "SAPDB" to sapdb version
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-12-10 18:40:38 +05:00
unknown
10bde0b61c - make sure to replace HOSTNAME in mysql.server when packing up the binary
distribution (this will still be broken for 3.23.54)
 - make sure that mysql.server in the binary distribution is executable, too
2002-12-10 14:25:23 +01:00
unknown
37a02e4ce4 Update Windows binaries prefix according MySQL Pro release package
sql/mysqld.cc:
  With the introduction of Pro release version the InnoDB table engine
  was added for all binaries and not more define only the max package
2002-12-10 04:17:31 -04:00
unknown
181537e924 incorrect bugfix removed. EQ+BETWEEN still cannot be optimized :( 2002-12-10 00:07:25 +01:00
unknown
127d01dd01 ANALYZE for MERGE 2002-12-10 00:06:05 +01:00
unknown
6271ea35b8 bulk insert code optimized
mysql-test/r/distinct.result:
  updated
mysql-test/r/fulltext.result:
  updated
mysql-test/r/select.result:
  updated
mysql-test/r/show_check.result:
  updated
mysql-test/t/insert.test:
  updated
2002-12-07 22:40:20 +01:00
unknown
5a55e25c87 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-06 22:50:50 +02:00
unknown
7cc9c3c6bf Don't initialize fulltext functions twice in multi-table-update
mysql-test/mysql-test-run.sh:
  Added option --extern (from 4.1)
mysql-test/r/multi_update.result:
  Portability fix
mysql-test/t/multi_update.test:
  Portability fix
2002-12-06 22:49:16 +02:00
unknown
820589496f Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build


support-files/mysql.server.sh:
  Auto merged
2002-12-05 22:05:31 +01:00
unknown
23865c0eea Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-05 21:38:55 +01:00
unknown
a29ee10048 current_user() to return priv_user 2002-12-05 21:38:27 +01:00
unknown
c92d611d54 row0mysql.c:
Heikki will merge to 4.0: cleanup


innobase/row/row0mysql.c:
  Heikki will merge to 4.0: cleanup
2002-12-05 22:09:51 +02:00
unknown
446f877906 row0mysql.c, dict0dict.c, db0err.h, ha_innobase.cc:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd


sql/ha_innobase.cc:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/include/db0err.h:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/dict/dict0dict.c:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/row/row0mysql.c:
  Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
2002-12-05 22:03:24 +02:00
unknown
9b5167eeac Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-05 16:39:16 +02:00
unknown
fdb093fc47 Copy arguments given to mysql_server_init()
Made keybuff_size longlong (To make show variables work similar on 32
and 64 bit systems)
Fixed some 'not initalized variable errors' in multi-table-update.
Fixed memory leak in multi-table-update.
Now all tests works under valgrind without any errors.


libmysqld/lib_sql.cc:
  Copy arguments given to mysql_server_init()
mysql-test/r/temp_table.result:
  Update test results (after merge form 3.23)
sql/handler.cc:
  Made keybuff_size longlong
sql/mysql_priv.h:
  Made keybuff_size longlong
sql/mysqld.cc:
  Made keybuff_size longlong
sql/set_var.cc:
  Made keybuff_size longlong
sql/set_var.h:
  Made keybuff_size longlong
sql/sql_select.cc:
  Simple cleanup
sql/sql_select.h:
  Make TMP_TABLE_PARAM to be allocated through Sql_alloc
sql/sql_update.cc:
  Fixed some 'not initalized variable errors' in multi-table-update.
  Fixed memory leak in multi-table-update
2002-12-05 16:38:49 +02:00
unknown
5e354455be Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build


support-files/mysql.server.sh:
  Auto merged
2002-12-05 11:12:30 +01:00
unknown
5fdd9f878f Merge with 3.23
BitKeeper/etc/ignore:
  auto-union
configure.in:
  Auto merged
BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
  Auto merged
libmysql/password.c:
  Auto merged
mysys/hash.c:
  Auto merged
mysys/my_static.c:
  Auto merged
mysys/my_static.h:
  Auto merged
mysys/my_tempnam.c:
  Auto merged
sql/sql_analyse.cc:
  Auto merged
sql/sql_table.cc:
  Auto merged
support-files/mysql.server.sh:
  Auto merged
mysql-test/t/temp_table.test:
  Added comment
sql/mysqld.cc:
  Don't apply change from 3.23
sql/sql_show.cc:
  Don't apply change from 3.23
sql/structs.h:
  Don't apply change from 3.23
2002-12-05 03:52:53 +02:00
unknown
591b058518 Removed copying of parameters as this leads to memory leaks in embedded server.
Fixed 'not initialized' memory error.


mysql-test/mysql-test-run.sh:
  Updates to be able to more easily use --valgrind
mysql-test/r/alter_table.result:
  Added missing drop table
mysql-test/t/alter_table.test:
  Added missing drop table
sql/field.cc:
  Simple optimizations
sql/ha_innodb.cc:
  Remove copying of parameters as this leads to memory leaks in MySQL.
  Should be instead fixed by, in embedded server, make a temporary copy of
  all parameters and free them on server-end
sql/log.cc:
  Simple optimization
sql/mysql_priv.h:
  Move external reference to struct to include file
sql/mysqld.cc:
  Added safety asserts
sql/sql_class.cc:
  Fixed non fatal 'not initialized memory reference error' in thread init
sql/sql_udf.cc:
  Clear current_thd for global thread
strings/strto.c:
  Simple optimization
2002-12-05 03:40:33 +02:00
unknown
e4add99924 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-12-05 02:02:44 +01:00
unknown
9d14d104e6 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-05 01:47:10 +01:00
unknown
cf85a16cf4 better fix for read_rows, same for read_one_row 2002-12-05 01:01:38 +01:00
unknown
d3237f34ef .del-errmsg.c~444b5d4031149217:
Delete: client/errmsg.c


BitKeeper/deleted/.del-errmsg.c~444b5d4031149217:
  Delete: client/errmsg.c
2002-12-05 00:33:18 +01:00
unknown
6b7a9546e4 Merge akishkin@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/walrus/bk/40
2002-12-05 01:05:04 +05:00
unknown
491415cd03 a test case for double free'ing of pointer in alter table ... 2002-12-04 21:50:59 +02:00
unknown
ada3e32545 some code cleanup
sql/sql_table.cc:
  code cleanup
2002-12-04 21:39:15 +02:00
unknown
28b2280321 Remove useless field conversation 2002-12-05 00:13:45 +05:00
unknown
c151ea1f12 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-12-04 20:52:42 +02:00
unknown
76c982ea92 A fix for double free'd pointer bug ...
BitKeeper/etc/ignore:
  Added innobase/stamp-h1 stamp-h1 to the ignore list
2002-12-04 20:51:18 +02:00
unknown
ad6e080401 - portability patch to work around bugs in the HP compiler's "inline"
handling (backport from 4.0 tree)
2002-12-04 19:16:45 +01:00
unknown
3a5a0211e8 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-12-04 17:38:12 +01:00
unknown
8cf927658d new client error added: CR_MALFORMED_PACKET 2002-12-04 17:37:51 +01:00
unknown
7280bddb71 Merge with 3.23
(Fixed problem with autoconf 2.53 on Solaris)


BUILD/compile-solaris-sparc-purify:
  Merge with 3.23
BUILD/compile-solaris-sparc:
  Merge with 3.23
acinclude.m4:
  Merge with 3.23
2002-12-04 17:40:37 +02:00
unknown
fc79a01402 Merge mysql.com:/space/my/mysql-3.23
into mysql.com:/space/my/mysql-3.23-build
2002-12-04 16:16:38 +01:00
unknown
e955255cf6 - Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling


configure.in:
   - Portability fix for HP compiler on HPUX11
libmysql/password.c:
   - Portability fix for HP compiler on HPUX11
mysys/hash.c:
   - Portability fix for HP compiler on HPUX11
mysys/my_static.c:
   - Portability fix for HP compiler on HPUX11
mysys/my_static.h:
   - Portability fix for HP compiler on HPUX11
mysys/my_tempnam.c:
   - Portability fix for HP compiler on HPUX11
sql/sql_analyse.cc:
   - Fixed bug in decimal handling
2002-12-04 16:16:06 +01:00