Commit graph

968 commits

Author SHA1 Message Date
nick@mysql.com
ec04d28468 fixed race that caused sig11s on simultaneous FLUSH LOGS
(possibly also fixes binlog filename corruption problems--hasn't
been reproduced since)
2002-10-07 15:42:10 -06:00
monty@hundin.mysql.fi
649413f773 Don't reset Delayed_insert_threads on FLUSH STATUS 2002-09-27 12:01:26 +03:00
lenz@mysql.com
019b5ab7b4 - backported gcc 3.0 linking fix from 4.0
- some cosmetical fixups (typos, comments)
2002-09-24 22:24:30 +02:00
serg@serg.mysql.com
4850c94143 followup: s/st_table_list->name/st_table_list->alias/ 2002-09-23 14:38:35 +00:00
monty@mashka.mysql.fi
755d4952af Change name -> alias in TABLE_LIST.
Added missing mutex-lock around critical section in GRANT handling.
2002-09-21 21:36:23 +03:00
monty@mashka.mysql.fi
74744466b1 Fixed bug with BINARY NULL 2002-09-18 02:00:56 +03:00
monty@mashka.mysql.fi
ff993695a4 Fixed bug in ALTER TABLE and RENAME TABLE when running with lower-case-table-names. 2002-09-16 15:24:54 +03:00
monty@mashka.mysql.fi
344c24d390 Fixed core dump bug in ORDER BY ... LIMIT 2002-09-15 01:23:01 +03:00
heikki@hundin.mysql.fi
e63f6cd2c5 ha_innobase.cc:
Cleanup after last push
2002-09-10 14:31:46 +03:00
heikki@hundin.mysql.fi
48063238e2 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
2002-09-10 14:23:46 +03:00
heikki@hundin.mysql.fi
44a43fce68 ha_innobase.cc, ha_innobase.h:
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
monty@mashka.mysql.fi
fee5128d25 Merge 2002-09-03 16:48:37 +03:00
monty@mashka.mysql.fi
ca3cecf872 Fixed bug introduces by last changeset
(Fixing of problem with ALTER TABLE on BDB tables)
2002-09-03 16:28:01 +03:00
monty@mashka.mysql.fi
20680f895e 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)
2002-09-03 15:53:07 +03:00
serg@serg.mysql.com
27390a8d81 LOCK+modify+OPTIMIZE bugfix 2002-08-31 23:18:08 +00:00
monty@mashka.mysql.fi
184ef91d4c Merge 2002-08-31 14:41:56 +03:00
Sinisa@sinisa.nasamreza.org
54594ebca1 Little but nasty bug with BDB and alter table 2002-08-28 16:41:23 +03:00
heikki@hundin.mysql.fi
df5d7a5b91 row0mysql.c, ha_innobase.cc:
Improved error message for out-of-sync frm files
2002-08-23 10:52:24 +03:00
monty@hundin.mysql.fi
3ee79d3a50 Fixed bug in mysqld when using configure --localstatedir 2002-08-23 10:33:18 +03:00
heikki@hundin.mysql.fi
49f658281f 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
2002-08-12 17:31:57 +03:00
serg@sergbook.mysql.com
7cbe8b369a put InnoDB HANDLER patch back again :)) 2002-08-12 16:18:37 +02:00
serg@sergbook.mysql.com
efe85086c6 undo InnoDB HANDLER patch as it should not go into 3.23 tree 2002-08-12 15:11:58 +02:00
heikki@hundin.mysql.fi
389d730d03 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
monty@hundin.mysql.fi
4dfe327a06 Fix after merge 2002-08-12 06:49:28 +03:00
monty@hundin.mysql.fi
d825808a72 merge 2002-08-12 03:40:36 +03:00
monty@hundin.mysql.fi
b779b63862 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.
2002-08-12 03:28:02 +03:00
heikki@hundin.mysql.fi
1239863b64 trx0trx.h, trx0trx.c, ha_innobase.cc, ha_innobase.h:
Add tentative code which can be used in HANDLER implementation for InnoDB
2002-08-12 00:17:39 +03:00
heikki@hundin.mysql.fi
bee3f072e4 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
2002-08-11 18:49:47 +03:00
Sinisa@sinisa.nasamreza.org
0005f28b4e A small fix for last_insert_id with multi-row inserts 2002-08-10 22:08:00 +03:00
Sinisa@sinisa.nasamreza.org
a80d185e40 A change in IF behaviour that several users asked for ... 2002-08-09 23:14:02 +03:00
heikki@hundin.mysql.fi
edf3929cd5 ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints
2002-08-09 15:34:23 +03:00
heikki@hundin.mysql.fi
933417c1fe 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
heikki@hundin.mysql.fi
6e87dc118c ha_innobase.cc:
Revert changes to sprintf until we know why control characters scrambled the output
2002-08-09 10:17:54 +03:00
monty@hundin.mysql.fi
1a264ceb34 Reverted Heikkis patch as his was not portable.
Remove not needed locks in SHOW OPEN TABLES
2002-08-08 21:43:46 +03:00
monty@hundin.mysql.fi
3f48e0369b Better fix for problem with empty database names in the mysql.db table 2002-08-08 00:53:00 +03:00
Sinisa@sinisa.nasamreza.org
04e7beecf5 Fix for a security flaw in database hash 2002-08-07 21:57:32 +03:00
heikki@hundin.mysql.fi
042facc475 Many files:
Merge InnoDB-3.23.52d
2002-08-06 22:59:13 +03:00
monty@hundin.mysql.fi
5fadf19295 Fixed problem with make distcheck
Fixed bug in automatic repair of MyISAM tables where table cache was not locked properly
2002-08-06 22:20:11 +03:00
monty@hundin.mysql.fi
4e5b087172 Better error messages for mysql-test-run
Added option --host to mysqlhotcopy
2002-08-06 16:12:52 +03:00
monty@mashka.mysql.fi
274f80626e Changed initialization of RND() to be less predictable.
Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.
2002-08-06 03:21:12 +03:00
monty@narttu.mysql.fi
bea3a43b20 merge 2002-08-05 22:18:39 +03:00
monty@narttu.mysql.fi
c0a6890292 Added some missing mutex_locks() when manipulating the table cache.
This should fix some possible table cache corruptions when doing
OPTIMIZE or REPAIR table when other threads are opening new tables.
2002-08-05 18:50:38 +03:00
monty@mashka.mysql.fi
621b5da80e Fixed bug with GROUP BY on NULL fields.
(Merge of code from 4.0)
2002-08-05 18:10:53 +03:00
monty@mashka.mysql.fi
8a38deea44 merge 2002-08-05 13:15:39 +03:00
monty@mashka.mysql.fi
d050c30d42 Added some mutex locks to make SLAVE START and SLAVE STOP thread safe. 2002-08-05 13:09:12 +03:00
Sinisa@sinisa.nasamreza.org
0bf9de2605 Fixed a problem with privilege tables when downgrading from 4.0.2
to 3.23
2002-08-03 17:21:21 +03:00
heikki@hundin.mysql.fi
7b4869d9a4 Many files:
Merge InnoDB-3.23.52c
ha_innobase.cc:
  Test the ref length sanity also in the production version
2002-08-02 23:16:19 +03:00
heikki@hundin.mysql.fi
bbb8125a2c Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
2002-07-31 00:47:20 +03:00
heikki@hundin.mysql.fi
e61c448039 ha_innobase.cc:
Since MySQL commits the stmt always at the end of an INSERT, it is enough to release auto-inc lock at innobase_commit and innobase_rollback; add also more comments to code
2002-07-30 13:12:09 +03:00
heikki@hundin.mysql.fi
4c7ac5742f ha_innobase.h, ha_innobase.cc:
procinfo -> proc_info to make ha_innobase.cc to compile, add more comments about ref
2002-07-30 02:07:01 +03:00