Sinisa@sinisa.nasamreza.org
5ec7991dbb
missing option
2002-08-30 17:12:52 +03:00
Sinisa@sinisa.nasamreza.org
ccade9a69a
A small bug fix in log::write
2002-08-30 15:03:31 +03:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
monty@hundin.mysql.fi
5aa46cafe3
Updated VC++ dsp files from windows build machine
...
Remove some compiler warnings when using VC++
Add InnoDB in normal MySQL binary for windows.
2002-08-29 18:20:04 +03:00
Sinisa@sinisa.nasamreza.org
6b20a480a6
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-08-28 21:28:16 +03:00
Sinisa@sinisa.nasamreza.org
08fbd47950
some small speed improvements after my last changes.
...
I know I should have waited for Monty's merge ...
2002-08-28 21:11:23 +03:00
monty@hundin.mysql.fi
6bebd251bc
Fixed problem with show variables on 64 bit sparc.
2002-08-28 19:22:42 +03:00
monty@hundin.mysql.fi
631f395f16
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-08-28 19:16:43 +03:00
monty@hundin.mysql.fi
e720b5a6fb
Portability fixes for windows
2002-08-28 17:00:58 +03:00
Sinisa@sinisa.nasamreza.org
54594ebca1
Little but nasty bug with BDB and alter table
2002-08-28 16:41:23 +03:00
miguel@hegel.br
8c71a53b9c
Small fixes
2002-08-27 10:55:12 -03:00
bar@bar.mysql.r18.ru
dd5382187e
Fix that this didn't work as far as sorting for ORDER BY was removed by optimizer:
...
SELECT k FROM t1 GROUP BY k COLLATE latin1 ORDER BY k COLLATE latin1_de
2002-08-26 17:33:44 +05:00
Sinisa@sinisa.nasamreza.org
22bcce253e
Adding a necessary functionality to ::store and ::save_in_field
...
that will take place properly after pull from 4.0, in order to
handle conversions from quoted constants to bigint's.
2002-08-24 14:49:04 +03:00
monty@mashka.mysql.fi
04723cf74d
Give better error from reconnect()
...
Fixed hang in start_slave_threads() when thread dies quickly.
2002-08-24 05:44:16 +03:00
monty@mashka.mysql.fi
d49bf802ec
Removed wrong mutex lock (hangup in kill on HPUX)
...
all free_defaults() on exit in mysql.cc; Should fix problem with SSL
2002-08-24 02:08:10 +03:00
monty@hundin.mysql.fi
7dac7062fa
Changed relay_log_space to ulonglong
...
Removed compiler warnings.
2002-08-23 15:14:01 +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
monty@hundin.mysql.fi
c7499a1039
Portabilityfix in mysqladmin.c
...
Fix when using --localstatedir
Cleaned up mysql.server
2002-08-23 02:48:52 +03:00
bell@sanja.is.com.ua
fdb3bcc5c7
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-4.1
2002-08-22 18:42:25 +03:00
bell@sanja.is.com.ua
e4047683e3
removed accidentally pushed file
2002-08-22 18:40:21 +03:00
monty@hundin.mysql.fi
aa4e9b1f2a
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-08-22 16:51:48 +03:00
monty@hundin.mysql.fi
f36f9d00ff
Fixed bug in wait_for_update() that I had introduced.
...
Changed option variables to my_bool (to avoid bugs in my_getopt())
Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
2002-08-22 16:50:58 +03:00
bar@bar.mysql.r18.ru
0670267f63
Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
...
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1.dyn
2002-08-22 18:13:33 +05:00
bar@bar.mysql.r18.ru
faaddbd214
Stupid bug fixes in sql_yacc.cc
...
New class Item_func_set_collation()
Fixed that "SELECT CONVERT(expr USING charset) GROUP BY 1" was not working
New COLLATION syntax: <expr> COLLATE latin1
2002-08-22 18:12:45 +05:00
ram@ram.(none)
d002322aff
Spatial code cleanup
2002-08-22 12:21:58 +05:00
arjen@fred.bitbike.com
274a253a28
Updated Dutch error messages.
2002-08-22 07:20:58 +10:00
monty@hundin.mysql.fi
4ab6d8c4f7
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-08-22 00:20:57 +03:00
serg@serg.mysql.com
9fb3ceafff
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-21 21:16:20 +00:00
serg@serg.mysql.com
9498ed78c0
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-21 21:01:31 +00:00
serg@serg.mysql.com
99a954f405
InnoDB support for HANDLER
2002-08-21 20:55:34 +00:00
monty@hundin.mysql.fi
9c6a3b1ac7
Portability fix.
2002-08-21 23:31:33 +03:00
monty@hundin.mysql.fi
03b0179af9
Use our version of RWLOCKS on UNIXWARE 7
...
More DBUG info for replication
Better error messages from replication
Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
Removed warning when setting an AUTO_INCREMENT field to NULL
2002-08-21 22:04:22 +03:00
bar@bar.mysql.r18.ru
1c1b27588c
A comment about actual charset has been added
2002-08-21 17:24:56 +05:00
monty@hundin.mysql.fi
a5edb20042
Fixed timing problem with rpl000001 replication test.
...
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +03:00
monty@hundin.mysql.fi
f7c8bd0e47
Portability fixes for 4.0.3 build.
...
Don't update MyISAM index file on UPDATE if index is not changed
2002-08-17 18:02:56 +03:00
monty@hundin.mysql.fi
b9d7fcd279
Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
...
Removed thread marking of safemalloc blocks (becasue of alignment problems)
Temporary fix for bigint comparison.
2002-08-17 05:18:06 +03:00
monty@hundin.mysql.fi
5ec63477ca
merge
2002-08-17 00:39:58 +03:00
monty@hundin.mysql.fi
5773b6504a
Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
...
Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
Fixed bug in pthread_mutex_trylock with HPUX 11.0
2002-08-17 00:35:51 +03:00
Sinisa@sinisa.nasamreza.org
c7f86c3373
A fix for bigints with quoted constants ..
...
Same princpile can be applied to other expressions
2002-08-16 20:31:48 +03:00
bar@bar.mysql.r18.ru
e353a35f64
New character sets
2002-08-15 14:43:05 +05:00
monty@hundin.mysql.fi
c531b43272
merge with 3.23.52
2002-08-13 02:33:25 +03:00
monty@hundin.mysql.fi
ae1ec6e16a
Changed SQL variable delay_key_write to an enum
...
able delay_key_write as default (as it was in 4.0.2)
2002-08-13 02:18:39 +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
454339b29c
Fixes after last merge
2002-08-12 07:02:08 +03:00
monty@hundin.mysql.fi
4dfe327a06
Fix after merge
2002-08-12 06:49:28 +03:00
monty@hundin.mysql.fi
3ef9d44edc
merge with 3.23.52
2002-08-12 04:04:43 +03:00
monty@hundin.mysql.fi
d825808a72
merge
2002-08-12 03:40:36 +03:00
monty@hundin.mysql.fi
c99c1fd384
Changed IF(expr, column, NULL) to take type from column
...
Fixed some windows portability problems and removed some compiler warnings
Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
2002-08-12 03:33:46 +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
ram@ram.(none)
deaec7b0e0
QUOTE() code cleanup
2002-08-10 15:13:05 +05:00
Sinisa@sinisa.nasamreza.org
a80d185e40
A change in IF behaviour that several users asked for ...
2002-08-09 23:14:02 +03:00
ram@ram.(none)
8f7f648d8d
Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.0
...
into ram.(none):/home/ram/work/mysql-4.0
2002-08-09 19:37:47 +05:00
ram@ram.(none)
390678905b
added NULLs check to the QUOTE() function
2002-08-09 19:36:36 +05:00
monty@hundin.mysql.fi
43f1fb7972
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-08-09 16:50:24 +03:00
monty@hundin.mysql.fi
ac6e640c4d
Fix for SSL and new my_getopt
...
Fix for syntax error bug in SET TRANSACTION ISOLATION
2002-08-09 16:47:16 +03:00
Sinisa@sinisa.nasamreza.org
14de3138bd
reverting a fix
2002-08-09 16:05:02 +03:00
Sinisa@sinisa.nasamreza.org
5ac3792e16
bk resolve
2002-08-09 15:55: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
ram@ram.(none)
cdd1d57ee3
Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.0
...
into ram.(none):/home/ram/work/mysql-4.0
2002-08-09 15:46:01 +05:00
ram@ram.(none)
b43eb82b10
QUOTE() func changes according to monty's suggestions
2002-08-09 15:42:38 +05:00
arjen@fred.bitbike.com
ce60fe5d9b
decode_montyspeak();
2002-08-09 19:33:13 +10: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
Sinisa@sinisa.nasamreza.org
9badcb0c72
A very small security fix
2002-08-08 23:18:33 +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
23a1a5db84
Fixed syntax error
2002-08-08 21:38:12 +03:00
monty@hundin.mysql.fi
8832927d5c
Added nety_retry_count as a changeable variable
...
Make safe_mysqld a symlink to mysqld_safe in binary distribution
Fixed problem with CTRL-C when using mysqld --bootstrap
2002-08-08 20:49:06 +03:00
ram@ram.(none)
b7403f3d84
new QUOTE() fuction has been added
2002-08-08 20:25:53 +05:00
Sinisa@sinisa.nasamreza.org
68360dc11f
bk resolve
2002-08-08 17:38:47 +03:00
Sinisa@sinisa.nasamreza.org
c946b8a24a
Just making it the same as Monty changed it in 3.23.52
2002-08-08 17:30:52 +03:00
monty@hundin.mysql.fi
77296b3f67
Fix after merge
...
Updated WEEK() and DATE information in the manual.
2002-08-08 16:41:04 +03:00
monty@hundin.mysql.fi
087261482a
merge with 3.23.52
2002-08-08 15:24:47 +03:00
Sinisa@sinisa.nasamreza.org
84ec8b9058
just manual differences resolving ..
...
Don't know what created the above three files ..
BK does not let me discard those ...
2002-08-08 14:19:01 +03:00
monty@hundin.mysql.fi
8be1cdeb89
merge
2002-08-08 12:05:18 +03:00
monty@mashka.mysql.fi
1bb7665a9c
merge
2002-08-08 03:29:36 +03:00
monty@hundin.mysql.fi
a31406e34e
Fix for Intel compiler (ecc)
...
Minor cleanups to other patches.
Make --temp-pool default
2002-08-08 03:14:44 +03:00
monty@mashka.mysql.fi
2c4fa340cc
Lots of code fixes to the replication code (especially the binary logging and index log file handling)
...
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +03:00
arjen@fred.bitbike.com
a4b77125fd
Update of Dutch error messages.
2002-08-08 09:55:16 +10: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
e4b3d6fa72
Merge
2002-08-07 22:53:44 +03:00
Sinisa@sinisa.nasamreza.org
eb45da0431
Fixed bugs with create table from ITEM_FUNC and make it over
...
once for all derived functions.
I also reverted my patch for MONTH() and added a test case.
My MONTH() patch was too specific. This is a general fix.
Plus a fix for security flaw in database hash
2002-08-07 22:35:47 +03:00
Sinisa@sinisa.nasamreza.org
04e7beecf5
Fix for a security flaw in database hash
2002-08-07 21:57:32 +03:00
bell@sanja.is.com.ua
011fed6059
Fixed bug in query cache after temporary table creation.
2002-08-07 15:29:49 +03:00
Sinisa@sinisa.nasamreza.org
72c0c0c0cb
Fix for a bug which caused problems in CREATE from SELECT with
...
MONTH() function in SELECT list ...
2002-08-06 23:37:22 +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
Sinisa@sinisa.nasamreza.org
afe5fa0e86
Merge
2002-08-06 21:31:03 +03:00
Sinisa@sinisa.nasamreza.org
e679540cfd
fixed two bugs in multi-table update
2002-08-06 21:24:12 +03:00
bar@bar.udmsearch.izhnet.ru
28062413a8
New CRC32() SQL function
2002-08-06 19:29:33 +05: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
lenz@mysql.com
bbbfcdca68
- Added missing files to distribution
...
- removoved getopt.h (has been replaced by my_getopt.h)
2002-08-06 13:59:07 +02: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
jani@hynda.(none)
8300f92b5a
Fixed a bug in option --lower-case-table-name in mysqld.cc
2002-08-05 18:51:29 +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
bell@sanja.is.com.ua
9c49005ff5
fixed bug in truncating nonexisting table, found by Carsten
2002-08-05 11:45:39 +03:00
peter@mysql.com
005dade809
Revert SIGINT patch as Monty requested
2002-08-04 17:14:51 +04:00
peter@mysql.com
84b7a32a64
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
...
into mysql.com:/home/pz/mysql/mysql-4.0
2002-08-04 13:51:17 +04: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
Sinisa@sinisa.nasamreza.org
d858c08b83
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-08-03 16:09:44 +03:00
Sinisa@sinisa.nasamreza.org
1ac7e54b73
Two small bug fixes ...
2002-08-03 15:59:41 +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
salle@geopard.online.bg
193c383e8b
Reverting facist C++ comment cleanup
2002-08-02 15:05:10 +03:00
Sinisa@sinisa.nasamreza.org
da8d3d0c06
few small fixes
2002-08-01 15:19:06 +03:00
peter@mysql.com
03176ed259
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
...
into mysql.com:/home/pz/mysql/mysql-4.0
2002-07-31 21:12:11 +04:00
Sinisa@sinisa.nasamreza.org
095ae499c0
bk resolve
2002-07-31 19:57:16 +03:00
Sinisa@sinisa.nasamreza.org
aa7231af18
A bug with tables with different ref_length's whose order is
...
changed in table initialization
2002-07-31 19:53:06 +03:00
serg@sergbook.mysql.com
16d4ff79b7
revert sinisa's patch, because it does nothing
2002-07-31 15:29:04 +02:00
serg@sergbook.mysql.com
2ea3916eb0
fix for a nasty bag, that causes a memory corruption+crash on HUGE select distincts, as myisam temp table treats nulls as equal, it constantly returned 141 (duplicate key) error in create_myisam_from_heap
2002-07-31 15:09:31 +02:00
peter@mysql.com
8c9116a745
Do not crash on CTRL-C during then running mysqld --bootstrap
...
I'm not quite sure if this is correct way to fix it so please check
2002-07-31 15:04:22 +04:00
bar@bar.udmsearch.izhnet.ru
ee177d073d
Some more speedup in charsets handling
2002-07-31 13:25:37 +05:00
bell@sanja.is.com.ua
c0190125f7
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-subselect-4.1
2002-07-31 01:28:35 +03:00
bell@sanja.is.com.ua
0f6a9fe533
fixed bug reported by Walrus & Miguel in exists subselect
2002-07-31 01:26:51 +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
peter@mysql.com
a1443a7e2c
Allow storing "+456" then decimal declared unsigned
2002-07-30 19:52:51 +04: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
bar@bar.udmsearch.izhnet.ru
6340c79c05
Renamed some charset related constant
...
New fields in CHARSET_INFO for more nice SHOW CHARACTER SET
Dynamic charsets are now handled in faster way
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
2002-07-30 14:02:29 +05: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
Sinisa@sinisa.nasamreza.org
57f32cf816
merge
2002-07-29 18:37:15 +03:00
Sinisa@sinisa.nasamreza.org
7c9658ec19
reverting a patch
2002-07-29 17:54:45 +03:00
Sinisa@sinisa.nasamreza.org
712f4fb047
lot's of small changes
2002-07-29 17:05:41 +03:00
monty@mashka.mysql.fi
1d6c06aff3
Fixed wrong usage of return value of sprintf() (From prev change set)
2002-07-29 09:40:04 +03:00
monty@mashka.mysql.fi
d686ef729f
Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows
...
Changed name of variables
NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
to avoid confusion with 'not...' variables.
Write name of adminstrator command to slow log.
Added mysqldumpslow to RPM
2002-07-29 09:35:25 +03:00
bell@sanja.is.com.ua
fd0989e76a
fixed query cahe resize bug
2002-07-28 22:36:34 +03:00
monty@mashka.mysql.fi
bc035c71f1
Merge with 3.23.51
...
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
peter@mysql.com
c070c8e62d
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
...
into mysql.com:/home/pz/mysql/mysql-4.0
2002-07-25 09:38:06 +04:00
jcole@mugatu.spaceapes.com
588818a925
Merge jcole@work.mysql.com:/home/bk/mysql-4.0
...
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-07-25 00:13:23 -05:00
jcole@mugatu.spaceapes.com
9af0840879
Moved have_* to mysql_priv.h.
...
mysql_priv.h:
Added have_berkeley_db and have_innodb.
ha_innodb.h:
Removed have_innodb.
ha_berkeley.h:
Removed have_berkeley_db.
2002-07-25 00:12:42 -05:00
monty@mashka.mysql.fi
e701333bbf
INSERT ... VALUES(DEFAULT)
2002-07-25 01:00:56 +03:00
monty@mashka.mysql.fi
b71b26d1a1
Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2002-07-24 19:58:16 +03:00
monty@mashka.mysql.fi
c702a1f8fd
Removed wrong implementation of CUBE/ROLLUP
...
Fixed bugfix of INSERT ... SET db_name.table_name.column_name
Changed locking to external-locking
Fix client hangup for some invalid SQL queries.
2002-07-24 19:55:08 +03:00
lenz@mysql.com
421a8a4927
Added sql/set_var.h to distribution
2002-07-24 13:48:27 +02:00
monty@mashka.mysql.fi
00089b8148
Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2002-07-23 22:09:54 +03:00
monty@mashka.mysql.fi
fc7f7a2110
Small fixes after merge
2002-07-23 22:08:37 +03:00
salle@geopard.online.bg
02aaf29d2f
Fixed bug with INSERT .. SET db_name.tbl_name.col_name=''
2002-07-23 20:42:08 +03:00
monty@mashka.mysql.fi
4233d3a3d4
merge
2002-07-23 20:39:36 +03:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
peter@mysql.com
2ae30d2e7d
Trying to merge....
2002-07-23 17:25:54 +04:00
monty@mashka.mysql.fi
f93cb63202
Fixed problem with auto_increment key as not first key part
2002-07-23 02:08:48 +03:00
serg@sergbook.mysql.com
9805b66dbc
Merge work:/home/bk/mysql-4.0
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-07-21 23:56:16 +02:00
serg@sergbook.mysql.com
e20d9e06c5
AUTO_INCREMENT support for MERGE
...
HA_AUTO_PART_KEY support for handler parent class
2002-07-21 23:55:32 +02:00
peter@mysql.com
8ee17f913c
One more resolving because of pending log functions changes. Not sure if the manual is merged correctly again. Will ask arjen to check as soon as LOG changes will be pushed
2002-07-20 21:33:09 +04:00
WAX@sergbook.mysql.com
1966f4b839
CREATE ... SELECT extension (WL 317)
2002-07-20 16:36:56 +02:00
Sinisa@sinisa.nasamreza.org
151e3e4347
Some small changes
2002-07-20 15:40:02 +03:00
Sinisa@sinisa.nasamreza.org
2e8fb546dc
OLAP functionality plus some small bug fixes
2002-07-20 14:51:52 +03:00
monty@mashka.mysql.fi
d909f4a551
Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
...
code cleanup
2002-07-19 21:57:53 +03:00
Sinisa@sinisa.nasamreza.org
4331c705e5
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-19 14:31:02 +03:00
peter@mysql.com
7213fd028e
Merge changes in docs do go further
2002-07-19 00:06:33 +04:00
salle@geopard.online.bg
b472f401b1
Some
...
C++ comments cleanup
2002-07-17 15:17:20 +03:00
Sinisa@sinisa.nasamreza.org
581c60d14f
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-17 14:52:09 +03:00
Sinisa@sinisa.nasamreza.org
393bd5cff1
Another try to fix slave timeouts
2002-07-17 14:46:09 +03:00
peter@mysql.com
684bf18e4d
Arjens LOG functions changes with small changes and tests added to mysql-test
2002-07-17 12:11:48 +04:00
lenz@mysql.com
2877dc2f1c
Fix a core dump that occured on AIX and Solaris (and probably others)
...
in get_options (thanks to Sinisa for fixing this)
2002-07-16 22:26:29 +02:00
Sinisa@sinisa.nasamreza.org
ff2608099d
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-16 22:45:59 +03:00
Sinisa@sinisa.nasamreza.org
c5738005c4
Just making commit in order to stop getting erors.
...
Will do a push when it starts working ..
2002-07-16 22:42:53 +03:00
Sinisa@sinisa.nasamreza.org
6377f501df
mysqld.cc ?
...
mysqld.cc h
mysqld.cc small fix for --bind-address
2002-07-16 22:36:47 +03:00
Sinisa@sinisa.nasamreza.org
460477344a
Merge sinisa@work.mysql.com:/home/bk/mysql
...
into sinisa.nasamreza.org:/mnt/work/mysql
2002-07-16 22:08:41 +03:00
Sinisa@sinisa.nasamreza.org
8f7c6fcca4
making necessary changes after Sasha's correct remarks
2002-07-16 22:07:12 +03:00
Sinisa@sinisa.nasamreza.org
c57d66c587
Fixing slave timeouting
2002-07-16 21:16:34 +03:00
heikki@hundin.mysql.fi
4af87f6c78
slave.cc:
...
Suppress prints by slave.cc when there is a normal reconnect after the master has been quiet for the time of the net read timeout; this removes the Error 1159 messages many users have complained about in the replication of 3.23.51
2002-07-16 20:06:39 +03:00
bar@bar.udmsearch.izhnet.ru
b71345b73e
In my previous commit I didn't notice that we already have brazilian portuguese :(
2002-07-16 17:18:54 +05:00
bar@bar.udmsearch.izhnet.ru
79536e0006
Brazilian Portuguesse messages
2002-07-16 16:48:56 +05:00
heikki@hundin.mysql.fi
dfc866b30e
sql_db.cc:
...
On Monty's suggestion move ha_drop_database back inside LOCK_mysql_create_db, but we release LOCK_open during it to let possible running queries complete. I tested this and it seemed to work also in complex concurrent DELETE, SELECT, DROP DATABASE, and CREATE DATABASE situations
2002-07-16 03:29:02 +03:00
heikki@hundin.mysql.fi
c620486287
sql_db.cc:
...
Revert Monty's change to the positioning of ha_drop_database(): otherwise a running query on a table to be dropped in DROP DATABASE always causes the server to hang
2002-07-15 15:47:53 +03:00
lenz@mysql.com
8c827e2800
Added some patches provided by SuSE to fix build problems on
...
ppc64 and x86-64, fixed a compile bug when building with TCP wrapper
support on Linux
2002-07-15 13:33:56 +02:00
monty@hundin.mysql.fi
3e206c1ccf
Do handler specific drop-database at safe place.
...
Fix for access problem (merge from 4.0)
2002-07-14 10:37:34 +03:00
jani@rhols221.adsl.netsonic.fi
6a95858ca0
Merge work:/home/bk/mysql-4.0/
...
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-10 20:19:36 +03:00
ram@ram.(none)
5d62bde738
Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1
...
into ram.(none):/home/ram/work/mysql-4.1.spatial
2002-07-10 12:46:01 +05:00
miguel@hegel.local
b909f70540
Clean up removing unreferenced local variable
2002-07-10 00:32:04 -03:00
Sinisa@sinisa.nasamreza.org
d787138991
This is the only way to fix ALTER TABLE bug with BDB
...
I wish I had connection stop / start so that I could have made a
test case.
2002-07-09 14:57:06 +03:00
heikki@hundin.mysql.fi
7390d81f43
Many files:
...
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
bell@sanja.is.com.ua
984c84c234
cleanup
2002-07-05 08:15:57 +03:00
heikki@hundin.mysql.fi
21c66e37ae
ha_innobase.cc:
...
Remove a debug printf which unintentionally was committed to the source tree
2002-07-03 03:39:10 +03:00
heikki@hundin.mysql.fi
17c29de612
ha_innobase.cc:
...
Clarify the setting of innodb_data_file_path in my.cnf: it is in the [mysqld] section
2002-07-03 03:29:30 +03:00
bar@gw.udmsearch.izhnet.ru
189d1dd630
SHOW CREATE DATABASE name;
...
Small fixes in database default charset code
2002-07-02 14:31:54 +05:00
bell@sanja.is.com.ua
ba30e55d4b
typo fixed
2002-07-01 19:13:14 +03:00
bell@sanja.is.com.ua
0c6cb114e2
subselect clean up
...
fix after automerge
2002-07-01 19:06:24 +03:00
bell@sanja.is.com.ua
1a88542102
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-having-4.1
2002-07-01 14:17:59 +03:00
bell@sanja.is.com.ua
2cf620004e
subselect in having clause
...
fixed bug in sum function in subselect
2002-07-01 14:14:51 +03:00
monty@hundin.mysql.fi
5949f901ab
Disable symlinks if compiled with -DHAVE_BROKEN_REALPATH
2002-07-01 11:38:46 +03:00
jani@rhols221.adsl.netsonic.fi
b3d57979c7
Merge work:/home/bk/mysql-4.0/
...
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-01 10:14:55 +03:00
monty@hundin.mysql.fi
1111a8d6a8
Fixed bug in binary log when using LOAD DATA INFILE without active database.
2002-06-30 23:25:46 +03:00
monty@hundin.mysql.fi
f160def295
Fix problem with gcc 3.1
2002-06-30 23:04:11 +03:00
monty@hundin.mysql.fi
d4ad469c9b
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-30 19:34:54 +03:00
monty@hundin.mysql.fi
f87efa928b
Update for running gcc 3.x (mainly on HPUX)
...
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
bell@sanja.is.com.ua
cc327c60c8
typo fixed
2002-06-30 13:00:36 +03:00
bell@sanja.is.com.ua
2426972c5b
semaphores replaced by rwlock
2002-06-30 12:08:58 +03:00
monty@hundin.mysql.fi
978bf7212c
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-29 21:16:11 +03:00
monty@hundin.mysql.fi
0573b66df3
Added support for rw_tryrdlock() and rw_trywrlock()
2002-06-29 20:26:33 +03:00
Sinisa@sinisa.nasamreza.org
5a65b8b20a
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-06-29 16:32:45 +03:00