Commit graph

986 commits

Author SHA1 Message Date
unknown
7a8e330f3b Fixed problem with BDB tables and ALTER TABLE
Docs/manual.texi:
  ChangeLog
mysql-test/t/bdb-crash.test:
  Don't run test if BDB is not configured
sql/sql_base.cc:
  Added free on error
2002-10-24 01:29:29 +03:00
unknown
025375c296 - fixed typo in mysqld.cc: "agaist" -> "against"
sql/mysqld.cc:
   - fixed typo: "agaist" -> "against"
2002-10-17 11:08:04 +02:00
unknown
2e6dff75ad Added optional NT service and fix the TZ variable bug
mysys/my_init.c:
  Fix the TZ variable bug: 100% CPU usage
sql/mysqld.cc:
  Added optional NT service
sql/nt_servc.cc:
  Added optional NT service
sql/nt_servc.h:
  Added optional NT service
2002-10-16 21:51:03 -02:00
unknown
b3e3a09e72 Fixed bug in LEFT JOIN ... WHERE not_null_key_column=NULL;
Docs/manual.texi:
  ChangeLog
sql/field.h:
  New virtual function to set a field to null or signal an error
sql/field_conv.cc:
  New function to set a field to null or signal an error
sql/item.cc:
  When setting a field to null internally (for WHERE testing) don't autoconvert NULL -> now() or last_insert_id()
sql/item.h:
  New virtual function to set a field to null or signal an error
2002-10-16 10:32:45 +03:00
unknown
fab06ac587 Fix error handling in last patch (BLOB's in temporary tables) if
create_tmp_table fails.
2002-10-15 01:52:41 +03:00
unknown
e11dfa3763 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
Docs/manual.texi:
  Auto merged
2002-10-14 17:13:45 +03:00
unknown
a86c172f58 Fixed a bug in key optimizing handling where the expression
WHERE column_name = key_column_name was calculated as true
for NULL values.


Docs/manual.texi:
  Changelog
mysql-test/r/distinct.result:
  Updated results caused by bug fix.
mysql-test/r/null_key.result:
  New tests
mysql-test/t/null_key.test:
  New tests
sql/sql_select.cc:
  Additional change for previous changeset for using BLOB in GROUP BY
2002-10-14 17:04:12 +03:00
unknown
8926c0bc38 Fixed bug where we could reference a freed tmp_table->table_name variable for some
GROUP BY ... ORDER BY queries.


Docs/manual.texi:
  ChangeLog
2002-10-12 12:38:48 +03:00
unknown
c05fc9fa31 ha_innobase.cc:
Fix bug: if skip-innodb was defined SHOW INNODB STATUS crashed


sql/ha_innobase.cc:
  Fix bug: if skip-innodb was defined SHOW INNODB STATUS crashed
2002-10-09 19:52:34 +03:00
unknown
38b547257d Fixed bug in LOCK TABLES on windows.
Docs/manual.texi:
  Changelog
2002-10-09 12:05:22 +03:00
unknown
97a120e16b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2002-10-08 16:41:50 +03:00
unknown
9d33a7a2e4 Remove wrong clear of mysql_port when using --skip-show-databases
Docs/manual.texi:
  ChangeLog
2002-10-08 16:40:50 +03:00
unknown
122b6927bf ha_innobase.cc:
test


sql/ha_innobase.cc:
  test
2002-10-08 15:17:41 +03:00
unknown
a1517908c1 touchup to last fix
sql/log.cc:
  moved mutex back to after is_open() test,
  but still protecting name dereference (the real problem)
2002-10-07 16:39:52 -06:00
unknown
2ab04c8cee Merge mysql.com:/home/nick/mysql/repository/mysql-3.23
into mysql.com:/home/nick/mysql/mysql-3.23
2002-10-07 15:44:00 -06:00
unknown
642b759333 fixed race that caused sig11s on simultaneous FLUSH LOGS
(possibly also fixes binlog filename corruption problems--hasn't
been reproduced since)


sql/log.cc:
  Fixed race caused by calling MYSQL_LOG::is_open() outside of critical section.
sql/sql_parse.cc:
  added missing args to calls to MYSQL_LOG::new_file(bool)
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-10-07 15:42:10 -06:00
unknown
25b2d47517 btr0cur.c:
Do not let range estimator to return over 1 / 2 of total rows in table; use longlong in range estimation
btr0cur.h, ha_innobase.cc:
  Use longlong in range estimation, in case there are > 4 billion rows


sql/ha_innobase.cc:
  Use longlong in range estimation, in case there are > 4 billion rows
innobase/include/btr0cur.h:
  Use longlong in range estimation, in case there are > 4 billion rows
innobase/btr/btr0cur.c:
  Do not let range estimator to return over 1 / 2 of total rows in table; use longlong in range estimation
2002-10-05 22:23:51 +03:00
unknown
b05f22d997 ha_innobase.cc:
Remove unintentionally pushed assert


sql/ha_innobase.cc:
  Remove unintentionally pushed assert
2002-10-03 19:48:24 +03:00
unknown
3a088a328d ha_innobase.cc, ha_innobase.h:
Backport from 4.0.4 the bug fix of the crash when a temporary table was created inside LOCK TABLES and used


sql/ha_innobase.h:
  Backport from 4.0.4 the bug fix of the crash when a temporary table was created inside LOCK TABLES and used
sql/ha_innobase.cc:
  Backport from 4.0.4 the bug fix of the crash when a temporary table was created inside LOCK TABLES and used
2002-10-03 19:10:49 +03:00
unknown
9dd4e2b244 Don't reset Delayed_insert_threads on FLUSH STATUS
Docs/manual.texi:
  changelog
2002-09-27 12:01:26 +03:00
unknown
a9acc8e634 - backported gcc 3.0 linking fix from 4.0
- some cosmetical fixups (typos, comments)


client/mysqlbinlog.cc:
   - fix for gcc 3.0
configure.in:
   - fix for gcc 3.0
   - some cosmetic modifications (typos, comments)
include/global.h:
   - fix for gcc 3.0
   - some cosmetical fixes (typos, comments)
sql/mysqld.cc:
   - fix for gcc 3.0
2002-09-24 22:24:30 +02:00
unknown
14d3ff6b73 followup: s/st_table_list->name/st_table_list->alias/ 2002-09-23 14:38:35 +00:00
unknown
b804e278c8 Change name -> alias in TABLE_LIST.
Added missing mutex-lock around critical section in GRANT handling.


Docs/manual.texi:
  ChangeLog
sql/lock.cc:
  Change name -> alias in TABLE_LIST.
sql/slave.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_acl.cc:
  Added missing mutex-lock around critical section in GRANT handling.
  Changed name -> alias
sql/sql_base.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_insert.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_parse.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_show.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_table.cc:
  Change name -> alias in TABLE_LIST.
sql/sql_udf.cc:
  Change name -> alias in TABLE_LIST.
sql/table.h:
  Change name -> alias in TABLE_LIST.
tests/grant.pl:
  Fixed grant test
2002-09-21 21:36:23 +03:00
unknown
e4860747eb Fixed bug with BINARY NULL
Docs/manual.texi:
  ChangeLog
mysql-test/r/binary.result:
  Test of binary NULL
mysql-test/t/binary.test:
  Test of binary NULL
2002-09-18 02:00:56 +03:00
unknown
6f8b510a2b Fixed bug in ALTER TABLE and RENAME TABLE when running with lower-case-table-names.
Docs/manual.texi:
  changelog
2002-09-16 15:24:54 +03:00
unknown
20ec6183fe Fixed core dump bug in ORDER BY ... LIMIT
Docs/manual.texi:
  Changelog
2002-09-15 01:23:01 +03:00
unknown
393315dd59 ha_innobase.cc:
Cleanup after last push


sql/ha_innobase.cc:
  Cleanup after last push
2002-09-10 14:31:46 +03:00
unknown
da74720bb2 mysqld.cc:
update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2 
ha_innobase.h, ha_innobase.cc:
  make innobase_flush_log_at_trx_commit a long, like other params


sql/ha_innobase.cc:
  make innobase_flush_log_at_trx_commit a long, like other params
sql/ha_innobase.h:
  make innobase_flush_log_at_trx_commit a long, like other params
sql/mysqld.cc:
  update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2
2002-09-10 14:23:46 +03:00
unknown
f83da86bd2 ha_innobase.cc, ha_innobase.h:
innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52


sql/ha_innobase.h:
  innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52
sql/ha_innobase.cc:
  innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52
2002-09-10 00:52:26 +03:00
unknown
a040cf1eb2 Merge
Docs/manual.texi:
  SCCS merged
2002-09-03 16:48:37 +03:00
unknown
3307f95554 Fixed bug introduces by last changeset
(Fixing of problem with ALTER TABLE on BDB tables)


mysql-test/r/distinct.result:
  Fixed results after bug fix
sql/mysql_priv.h:
  Split close_thread_tables() into two functions.
  (Needed for bug fix from 4.0)
sql/sql_base.cc:
  Split close_thread_tables() into two functions.
  (Needed for bug fix from 4.0)
2002-09-03 16:28:01 +03:00
unknown
35115d9a50 Check if AND/OR expression can be NULL
Better fix for ALTER TABLE on BDB tables
(Both of the above fixes are already in 4.0)


Docs/manual.texi:
  Changelog
sql/item_cmpfunc.cc:
  Check if AND/OR expression can be NULL
sql/sql_table.cc:
  Better fix for ALTER TABLE on BDB tables
2002-09-03 15:53:07 +03:00
unknown
ffb97b4994 LOCK+modify+OPTIMIZE bugfix 2002-08-31 23:18:08 +00:00
unknown
c8f6ea2c7c Merge
Docs/manual.texi:
  SCCS merged
2002-08-31 14:41:56 +03:00
unknown
9210160c55 Little but nasty bug with BDB and alter table 2002-08-28 16:41:23 +03:00
unknown
9749209bd0 row0mysql.c, ha_innobase.cc:
Improved error message for out-of-sync frm files


sql/ha_innobase.cc:
  Improved error message for out-of-sync frm files
innobase/row/row0mysql.c:
  Improved error message for out-of-sync frm files
2002-08-23 10:52:24 +03:00
unknown
335d9fb215 Fixed bug in mysqld when using configure --localstatedir
Docs/manual.texi:
  Changelog
2002-08-23 10:33:18 +03:00
unknown
9a78f2fe0f ha_innobase.h, ha_innobase.cc:
Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only


sql/ha_innobase.cc:
  Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only
sql/ha_innobase.h:
  Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only
2002-08-12 17:31:57 +03:00
unknown
d49f3c08cd put InnoDB HANDLER patch back again :)) 2002-08-12 16:18:37 +02:00
unknown
8b57211736 undo InnoDB HANDLER patch as it should not go into 3.23 tree 2002-08-12 15:11:58 +02:00
unknown
7f8d57ef6a ha_innobase.cc:
Cleanup of latest rewrite of innobase_mysql_print_thd; from now on changing this code is forbidden unless a written permission is received from Heikki 3 days in advance


sql/ha_innobase.cc:
  Cleanup of latest rewrite of innobase_mysql_print_thd; from now on changing this code is forbidden unless a written permission is received from Heikki 3 days in advance
2002-08-12 08:29:15 +03:00
unknown
1918cce9ea Fix after merge
sql/mysqld.cc:
  Removed not necessary DBUG line
2002-08-12 06:49:28 +03:00
unknown
071994ba36 merge
sql/ha_innobase.cc:
  merge (kept my changes to ha_innobase.cc to not use sprintf())
2002-08-12 03:40:36 +03:00
unknown
b2e946136d Fixed problem with BIGINT and shutdown on AIX
Moved IF(test,column,NULL) code to 4.0
Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
Removed some CR's in os2 files.


Docs/manual.texi:
  Changelog
include/global.h:
  Fix for BIGINT problem on AIX
include/my_no_pthread.h:
  Fixed typo
libmysql/Makefile.shared:
  Fix for BIGINT problem on AIX
mysql-test/mysql-test-run.sh:
  Fix to find xterm on AIX 4.3
mysql-test/r/bigint.result:
  Fix for BIGINT problem on AIX
mysql-test/r/func_if.result:
  Change results for IF() after reverting change.
mysql-test/t/bigint.test:
  Fix for BIGINT problem on AIX
mysys/Makefile.am:
  Fix for BIGINT problem on AIX
mysys/my_gethostbyname.c:
  Cleanup
mysys/my_init.c:
  Cleanup
mysys/my_net.c:
  Cleanup
mysys/my_os2cond.c:
  Space & CRLF cleanup
mysys/my_os2dirsrch.c:
  Space & CRLF cleanup
mysys/my_os2dirsrch.h:
  Space & CRLF cleanup
mysys/my_os2dlfcn.c:
  Space & CRLF cleanup
mysys/my_os2file64.c:
  Space & CRLF cleanup
mysys/my_os2mutex.c:
  Space & CRLF cleanup
mysys/my_os2thread.c:
  Space & CRLF cleanup
mysys/my_os2tls.c:
  Space & CRLF cleanup
mysys/mysys_priv.h:
  cleanup
mysys/thr_rwlock.c:
  cleanup
sql/ha_innobase.cc:
  Removed usage of sprintf()
  Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS
sql/item_cmpfunc.cc:
  Reverted change for IF()
sql/mysqld.cc:
  Fix for shutdown on AIX
2002-08-12 03:28:02 +03:00
unknown
714f2b0f8b trx0trx.h, trx0trx.c, ha_innobase.cc, ha_innobase.h:
Add tentative code which can be used in HANDLER implementation for InnoDB


sql/ha_innobase.h:
  Add tentative code which can be used in HANDLER implementation for InnoDB
sql/ha_innobase.cc:
  Add tentative code which can be used in HANDLER implementation for InnoDB
innobase/trx/trx0trx.c:
  Add tentative code which can be used in HANDLER implementation for InnoDB
innobase/include/trx0trx.h:
  Add tentative code which can be used in HANDLER implementation for InnoDB
2002-08-12 00:17:39 +03:00
unknown
86dc608c34 ha_innobase.cc, ut0ut.c, univ.i, ut0ut.h:
Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
lock0lock.c:
  Add safety against buffer overruns in latest deadlock info
srv0srv.c:
  Add safety against buffer overruns in SHOW INNODB STATUS
os0thread.h, os0thread.c:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t


innobase/os/os0thread.c:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
innobase/include/os0thread.h:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
innobase/srv/srv0srv.c:
  Add safety against buffer overruns in SHOW INNODB STATUS
innobase/lock/lock0lock.c:
  Add safety against buffer overruns in latest deadlock info
innobase/include/ut0ut.h:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
innobase/include/univ.i:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
innobase/ut/ut0ut.c:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
sql/ha_innobase.cc:
  Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
2002-08-11 18:49:47 +03:00
unknown
49e4fea6c9 A small fix for last_insert_id with multi-row inserts 2002-08-10 22:08:00 +03:00
unknown
46f5b2674f A change in IF behaviour that several users asked for ... 2002-08-09 23:14:02 +03:00
unknown
b9b404b1ce ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints


innobase/trx/trx0trx.c:
  Add some more safety margin to buffer sizes in prints
innobase/lock/lock0lock.c:
  Add some more safety margin to buffer sizes in prints
innobase/include/trx0trx.h:
  Add some more safety margin to buffer sizes in prints
sql/ha_innobase.cc:
  Add some more safety margin to buffer sizes in prints
2002-08-09 15:34:23 +03:00
unknown
6a246376dc ha_innobase.cc:
Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works


sql/ha_innobase.cc:
  Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works
2002-08-09 15:06:59 +03:00