msvensson@neptunus.(none)
ef04608ecf
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-03-24 09:42:52 +01:00
jimw@mysql.com
9307f61cb2
Clarify comment to add which version of the C compiler for AIX needs to have
...
some code in a specific order.
2005-03-23 17:27:52 -08:00
serg@serg.mylan
5f6ac1abaf
Merge
2005-03-23 22:40:12 +01:00
serg@serg.mylan
1321740df6
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-23 22:33:47 +01:00
msvensson@neptunus.(none)
50ac19ba37
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-03-23 22:01:19 +01:00
konstantin@mysql.com
7c2d154e76
Fix a valgrind warning spotted while trying to repeat Bug#7166
...
"Server crashes when running out of connections"
2005-03-23 23:39:20 +03:00
serg@serg.mylan
5c0b772838
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-23 21:37:56 +01:00
serg@serg.mylan
091f069671
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2005-03-23 21:10:01 +01:00
serg@serg.mylan
f21f8f983f
client/mysqltest.c
...
corrected number of fields for --enable_metadata
sql/sql_union.cc
fixed a apparent typo in assert
2005-03-23 20:38:42 +01:00
gbichot@quadita2.mysql.com
bd74a139dc
Merge gbichot@bk-internal.mysql.com://home/bk/mysql-4.1
...
into quadita2.mysql.com:/nfstmp1/guilhem/mysql-4.1-4ita
2005-03-23 19:50:42 +01:00
serg@serg.mylan
08b8666351
removed unnecessary (and incorrect) space trimming/padding in generating ranges
...
(where e.g. col='aaa ' was converted to col>='aaa' AND col<='aaa ')
it was incorrect because ucs2 space is not ' ' (0x20)
it was unnecessary because storage engine pads values with spaces for comparison anyway
2005-03-23 19:31:29 +01:00
gbichot@quadita2.mysql.com
19499229ed
"After Monty's review" changes to the fix for BUG#8325 "Deadlock in replication thread stops replication":
...
s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late);
no message on error log (deadlock is too common sometimes), a global counter
instead (SHOW STATUS LIKE 'slave_retried_transactions').
Plus a fix for libmysql/Makefile.shared
2005-03-23 19:19:36 +01:00
serg@serg.mylan
9a0dd5c7e4
sql/sql_acl.cc
...
report correct errror in MODE_NO_AUTO_CREATE_USER
cleanup
after merge fixes
2005-03-23 19:18:25 +01:00
heikki@hundin.mysql.fi
7c40ac32ba
ha_innodb.cc:
...
Fix bug #9314 in InnoDB true VARCHAR: InnoDB stored the 'position' of a row wrong in a column prefix primary key index; this could cause MySQL to complain 'ERROR 1032: Can't find record in ...' in an update of the primary key, and also some ORDER BY or DISTINCT queries
2005-03-23 18:00:22 +02:00
msvensson@neptunus.(none)
9f05cbfbd7
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-03-23 13:25:31 +01:00
serg@serg.mylan
d6bedfa8e0
merged
2005-03-23 09:42:24 +01:00
msvensson@neptunus.(none)
a430d5a1a5
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-03-23 09:41:01 +01:00
bell@sanja.is.com.ua
4554b1f263
fixed union types merging and table related metadata (BUG#8824)
2005-03-23 08:36:48 +02:00
brian@zim.(none)
cfcedd85cd
Additional storage engine called "blackhole". Customer request, and for that matter a Zawodny request. With this you can alter table to a type of table that would never store data. Its a /dev/null for a database.
2005-03-22 16:10:39 -08:00
mskold@mysql.com
68e5cf494e
Merged
2005-03-22 22:31:51 +01:00
jimw@mysql.com
8372ba4c95
Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build
...
into mysql.com:/data0/mysqldev/jimw/mysql-5.0-build
2005-03-22 21:57:03 +01:00
jimw@mysql.com
3ef3c59ed0
Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if
...
the row type is dynamic (For 4.1 tables old 'VARCHAR' fields are converted to
true VARCHAR in the next ALTER TABLE)
This ensures that one can use MySQL 5.0 privilege tables with MySQL 4.1.
(Fix imported from main 5.0 tree to 5.0.3 build tree.)
2005-03-22 21:52:01 +01:00
serg@mysql.com
cc440db7db
Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build
...
into mysql.com:/data0/mysqldev/serg/m50b
2005-03-22 20:15:56 +01:00
serg@mysql.com
f7cbe9a2cc
BUG#9339 - Updating a column does not work if the table has a UTF-8 VARCHAR primary key
...
fixed my_charpos() call in Field_varstring::get_key_image
2005-03-22 20:13:49 +01:00
jimw@mysql.com
df015d61d6
Merge mysql.com:/data0/mysqldev/my/mysql-5.0-build
...
into mysql.com:/data0/mysqldev/jimw/mysql-5.0-build
2005-03-22 20:02:53 +01:00
mskold@mysql.com
2adabcb328
Added better comment for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
2005-03-22 17:48:28 +01:00
mskold@mysql.com
27dbed4384
Extra fix for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
2005-03-22 17:42:08 +01:00
serg@serg.mylan
e029e3eb61
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-22 16:11:43 +01:00
mysqldev@mysql.com
ad26a667e6
sql_acl.cc, sql_acl.h, sql_parse.cc
...
New privilege CREATE USER (CREATE_USER_ACL, Create_user_priv) added
grant2.test:
new tests (mostly backported from jani's patch)
system_mysql_db.result, sp.result, grant2.result, grant.result:
results updated
2005-03-22 15:54:18 +01:00
jani@ua141d10.elisa.omakaista.fi
40c951314e
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
2005-03-22 15:58:07 +02:00
jani@ua141d10.elisa.omakaista.fi
01dddf095a
- Added new error message.
...
- Changed error message in sql_acl.cc
- Added some more tests for GRANT.
2005-03-22 15:57:24 +02:00
monty@mysql.com
cc56005130
Hack to ensure that CHAR's created in 5.0 are not converted to VARCHAR even if the row type is dynamic
...
(For 4.1 tables old 'VARCHAR' fields are converted to true VARCHAR in the next ALTER TABLE)
This ensures that one can use MySQL 5.0 privilege tables with MySQL 4.1
2005-03-22 15:48:06 +02:00
msvensson@neptunus.(none)
e1e4a08695
Merge neptunus.(none):/home/msvensson/mysql/bug9072
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-03-22 14:29:34 +01:00
gbichot@production.mysql.com
fc7234cb4a
disabling rpl_timezone.test if --ps-protocol, as binlogging of CONVERT_TZ(,,@@time_zone)
...
fails there; until we find reason (me and possibly Konstantin).
2005-03-22 11:38:51 +01:00
monty@mysql.com
f849ac68a5
Fixed newly introduced bug in ROLLUP
2005-03-22 02:36:31 +02:00
gbichot@production.mysql.com
56495a3691
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into production.mysql.com:/nfstmp1/guilhem/mysql-5.0-prod
2005-03-22 00:28:33 +01:00
gbichot@production.mysql.com
c766efdc5d
Last part of WL#1062: better replication of timezones: no more use
...
of SET ONE_SHOT; storing tz info directly in event (if this info is needed),
it's now allowed to have different global tz on master and slave.
2005-03-22 00:26:12 +01:00
jimw@mysql.com
4c67678f15
Fix Windows compile warnings, declarations of walk functions
2005-03-22 00:00:24 +01:00
monty@mysql.com
d8b078e423
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-03-21 23:46:11 +02:00
monty@mysql.com
a1ab786091
Cleanups during review of code
...
Fixed newly introduced bug in rollup
2005-03-21 23:41:28 +02:00
joerg@mysql.com
86574f4836
Merge mysql.com:/M50/build-5.0.3 into mysql.com:/M50/push-5.0
2005-03-21 16:46:11 +01:00
joerg@mysql.com
d9354fb8a6
Code cleanup: should use 'element_count' here, see include/my_tree.h
...
(Change done by Ramil and sent via IRC)
2005-03-21 16:31:15 +01:00
konstantin@mysql.com
d5af61b1a0
Rename decimal -> decimal_t, decimal_digit -> decimal_digit_t
2005-03-21 15:58:34 +03:00
serg@serg.mylan
f4d4df2ca4
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-21 13:43:25 +01:00
msvensson@neptunus.(none)
3a3a91cd5b
BUG#6554: Problem Building MySql on Fedora Core 3
...
- Link with libsupc++.a which contains language support functions.
see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#2_5
2005-03-21 12:29:08 +01:00
dlenev@mysql.com
752a787342
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-merges
2005-03-21 13:28:48 +03:00
msvensson@neptunus.(none)
a5bb4810ff
BUG#9072 'Max_error_count' system variable cannot be set to zero
...
- Chaned min value in mysqld.cc
- Added testcase to warnings.test
2005-03-21 11:07:31 +01:00
konstantin@mysql.com
3e8045c662
Fix a valgrind warning in decimal.c:sanity()
2005-03-21 12:57:42 +03:00
dlenev@mysql.com
ea8adbff36
Manual merge of csets from -build tree into main 5.0 tree.
2005-03-21 11:39:47 +03:00
igor@rurik.mysql.com
df12e29955
func_group.test, func_group.result:
...
Added a test case for bug #9210 .
sql_select.cc:
Fixed bug #9210 .
The function calc_group_buffer did not cover the case
when the GROUP BY expression was decimal.
Slightly optimized the other code.
2005-03-19 23:12:50 -08:00
konstantin@mysql.com
947065ddab
Clean up the warning inside sanity():decimal.c in valgrind-max builds.
2005-03-19 18:39:26 +03:00
jimw@mysql.com
7de90716b0
Fix Windows compile errors.
2005-03-18 16:15:33 -08:00
jimw@mysql.com
ee2b4ec959
Eliminate warnings noticed by VC7. This includes fixing my_mmap() on
...
Windows to call CreateFileMapping() with correct arguments, and
propogating the introduction of query_id_t to everywhere query ids are
passed around. (Bug #8826 )
2005-03-18 16:12:25 -08:00
serg@serg.mylan
da27256e12
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-18 20:12:31 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
4ef20658d7
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
2005-03-18 19:04:09 +02:00
pem@mysql.comhem.se
8af9a0d782
Fixed BUG#6600: Stored procedure crash after repeated calls with check table
2005-03-18 16:52:41 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
5537d21466
Added more tests to grant2. Fixed some previous tests.
...
Added new logic to ACL system:
1) If GRANT OPTION (not mysql db):
Ok to update existing user, but not password.
Not allowed to make a new user.
2) If UPDATE_ACL to mysql DB:
Ok to update current user, but not make a new one.
3) If INSERT_ACL to mysql DB:
Ok to add a new user, but not modify existing.
4) If GRANT OPTION to mysql DB:
All modifications OK.
2005-03-18 13:32:28 +02:00
igor@rurik.mysql.com
d53423383b
Manual merge
2005-03-17 21:47:46 -08:00
igor@rurik.mysql.com
6f5fbaad59
olap.test:
...
Added a test case for bug #8617 .
sql_select.cc:
Fixed bug #8617 .
Queries with ROLLUP and LIMIT n returned more than n rows
if SQL_CALC_FOUND_ROWS was used.
2005-03-17 20:18:19 -08:00
jimw@mysql.com
a1db46216e
Merge mysql.com:/home/jimw/my/mysql-5.0-build
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-03-17 17:27:07 -08:00
jimw@mysql.com
dcd336d79d
Fix merge of sql/sql_select.cc using Igor's patch (Bug #9254 )
2005-03-17 17:22:40 -08:00
konstantin@mysql.com
371850a459
Cleanup of Item_func_group_concat
2005-03-18 00:41:03 +03:00
lenz@mysql.com
4ca5b3c73b
- Added a missing pair of parenthesis. (already commited by Jani, ChangeSet@1.1819)
2005-03-17 18:49:48 +01:00
serg@serg.mylan
6ab6dc2d1f
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-17 18:37:13 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
130d1c0877
Added a missing pair of parenthesis.
2005-03-17 19:24:27 +02:00
brian@zim.(none)
d713011627
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.0
2005-03-17 08:17:36 -08:00
gbichot@quadxeon.mysql.com
7ee2ecbe5d
Merge quadxeon.mysql.com:/nfstmp1/guilhem/mysql-4.0-4xeon
...
into quadxeon.mysql.com:/nfstmp1/guilhem/mysql-4.1-4xeon
2005-03-17 17:00:44 +01:00
serg@serg.mylan
5e4944126d
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-17 17:00:31 +01:00
serg@serg.mylan
f66967cf1b
sql/ha_federated.cc: update to new prototype
...
sql/item_cmpfunc.cc: typo fixed
2005-03-17 16:58:23 +01:00
gluh@gluh.mysql.r18.ru
edb4dd5366
after merge fix
2005-03-17 18:44:24 +03:00
gbichot@quadxeon.mysql.com
3cb85a4740
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into quadxeon.mysql.com:/nfstmp1/guilhem/mysql-4.0-4xeon
2005-03-17 15:51:52 +01:00
gluh@gluh.mysql.r18.ru
b435d6e862
Merge 4.1 -> 5.0
2005-03-17 16:51:07 +03:00
gbichot@quadxeon.mysql.com
d823bee92a
safer creation of temp files used in replication of LOAD DATA INFILE.
...
When we come to create these, they may already exist and it's necessary to delete these old, useless copies.
2005-03-17 14:39:39 +01:00
serg@serg.mylan
376a4ee03b
Field::quote_data():
...
don't call escape_string_for_mysql() unnecesary
don't overwrite local buffer
escape_string_for_mysql():
take a length of the destination buffer as an argument
2005-03-17 12:27:45 +01:00
serg@serg.mylan
262f6b4f25
Automerge
2005-03-17 10:10:26 +01:00
serg@serg.mylan
aab19698ab
Automerge
2005-03-17 10:06:49 +01:00
serg@serg.mylan
41997cf263
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-17 08:46:48 +01:00
ramil@mysql.com
261105a007
Merge
2005-03-17 10:59:25 +04:00
ramil@mysql.com
a773916238
A fix (bug #8942 : SUBSTRING_INDEX in UPDATE causes internal loop).
2005-03-17 10:24:50 +04:00
jani@a193-229-222-105.elisa-laajakaista.fi
1fbb61754b
Fixed two bugs in MySQL ACL.
...
First one is related to Bug#7905. One should not be allowed to
create new user with password without UPDATE privilege to
MySQL database. Furthermore, executing the same GRANT statement
twice would actually crash the server and corrupt privilege database.
Other bug was that one could update a column, using the existing
value as basis to calculate the new value (e.g. UPDATE t1 SET a=a+1)
without SELECT privilege to the field (a in the above example)
Fixed tests grant.pl and grant2, which were wrong.
2005-03-17 08:16:56 +02:00
brian@zim.(none)
f5d0a23788
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.0
2005-03-16 18:04:28 -08:00
igor@rurik.mysql.com
3103b4cae5
Merge rurik.mysql.com:/home/igor/mysql-4.1
...
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
2005-03-16 17:50:03 -08:00
brian@zim.(none)
473e1ffd3a
Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup).
2005-03-16 16:22:56 -08:00
igor@rurik.mysql.com
45ba13889d
olap.result, olap.test:
...
Added a test for bug #8615 .
sql_select.cc:
Fixed bug #8615 .
This fix only removed the cause of the reported crash.
It does not resolve other problems of rollup queries
with DISTINCT. They were fixed in the previous patch
for bug 8616.
2005-03-16 15:55:04 -08:00
monty@mysql.com
ddec400e18
Merge with global tree
2005-03-17 01:27:04 +02:00
monty@mysql.com
aa6ab3b49c
Move handler dependent tests to the specific handler (myisam, bdb, innodb)
...
Enabled VARCHAR testing for innodb
NOTE: innodb.test currently fails becasue of a bug in InnoDB.
I have informed Heikki about this and expect him to fix this ASAP
2005-03-17 01:22:12 +02:00
serg@serg.mylan
f3cf0837d2
log_event.cc:
...
#ifdef USING_TRANSACTIONS
ha_innodb.cc:
comment
rpl_drop_temp.test, rpl_drop_temp.result:
cleanup
2005-03-16 23:47:38 +01:00
serg@serg.mylan
1354f104cf
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-16 22:40:58 +01:00
monty@mysql.com
f42941073d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-03-16 22:59:06 +02:00
patg@krsna.
dcf73493df
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into krsna.:/home/patg/test/mysql-5.0
2005-03-16 12:05:58 -08:00
acurtis@pcgem.rdg.cyberkinetica.com
4e0b462612
Merge pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8670.2
...
into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8670.3
2005-03-16 16:27:07 +00:00
serg@serg.mylan
19279b1b03
merged
2005-03-16 17:13:43 +01:00
patg@krsna.
8e376b37d5
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into krsna.:/home/patg/test/mysql-5.0
2005-03-16 07:55:56 -08:00
bell@sanja.is.com.ua
80d9cafa8f
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
2005-03-16 17:06:04 +02:00
dlenev@mysql.com
5f5203b357
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-eld-exp
2005-03-16 17:14:08 +03:00
monty@mysql.com
594ef41b2d
Cleanup during reviews
...
Removed some optional arguments
Fixed portability problem in federated tests
2005-03-16 16:11:01 +02:00
dlenev@mysql.com
8df3d5b098
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-eld-exp
2005-03-16 17:00:13 +03:00
monty@mysql.com
a085653331
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2005-03-16 15:44:31 +02:00
bar@mysql.com
a7b877df78
Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()
...
not always correct for NULL values.
Now they always result a non NULL value even
the argument is NULL. It is more usefull for
debugging purposes.
2005-03-16 17:44:29 +04:00
gluh@gluh.mysql.r18.ru
41487d0b4e
Fix for bug#8656: Crash with group_concat on alias in outer table
...
fixed result_field support of Item_ref
2005-03-16 16:44:28 +03:00
heikki@hundin.mysql.fi
9975f53359
ha_innodb.cc:
...
Fix bug: InnoDB created all indexes on true VARCHARs as column prefix keys because field->pack_length() for a true VARCHAR is bigger than key_part->length; FOREIGN KEYs could not be created on true VARCHARs then
2005-03-16 15:18:14 +02:00
gluh@gluh.mysql.r18.ru
4c3e8b078c
Fix for bug #7100 : relay_log_space_max missing from SHOW VARIABLES
2005-03-16 15:57:57 +03:00
heikki@hundin.mysql.fi
cb88409e07
data0type.h, row0sel.c:
...
Fix a crash in a simple search with a key: the dtype->len of a true VARCHAR is the payload maximum len in bytes: it does not include the 2 bytes MySQL uses to store the string length
ha_innodb.cc:
Fix a crash in true VARCHARs in test-innodb: we passed a wrong pointer to the column conversion in an UPDATE
rowid_order_innodb.result, ps_3innodb.result, innodb.result, endspace.result:
Edit InnoDB test results to reflect the arrival of true VARCHARs
2005-03-16 14:28:54 +02:00
serg@serg.mylan
99e581ecc1
sql/ha_innodb.cc
...
protect prepare-...-commit with a mutex to ensure that commits in binlog and in the innodb have the same order
store binlog position with the commit
2005-03-16 12:45:08 +01:00
bar@mysql.com
2d8e8c02a5
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1-bug8785
2005-03-16 14:35:44 +04:00
monty@mysql.com
8e54dece31
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-03-16 12:03:00 +02:00
dlenev@brandersnatch.localdomain
3da06a5500
Fixed behavior of LOAD DATA with subqueries in SET clause.
...
The idea is to use TABLE_LIST::lock_type for passing type of lock for
target table to mysql_load() instead of using LEX::lock_option
(which were rewritten by first subselect in SET clause).
This should also fix potential problem with LOAD DATA in SP
(it is important for them to have right lock_type in the table
list by the end of statement parsing).
2005-03-16 12:13:35 +03:00
marko@hundin.mysql.fi
19a82124a2
ha_innodb.cc:
...
calc_row_difference(): Use non-inlined functions to avoid linking error.
2005-03-16 09:56:33 +02:00
serg@serg.mylan
4afb736576
sql/handler.cc
...
smarter xid-to-str routiine
fixed assert crash in XA RECOVER
sql/sql_parse.cc
XA COMMIT/ROLLBACK did not send_ok in some cases
2005-03-16 08:42:06 +01:00
serg@serg.mylan
d7b2d4c541
global read lock code now uses a dedicated mutex
...
(otherwise a deadlock when ALTER writes to
binlog holding LOCK_open, it causes binlog rotation,
binlog waits for prepared transactions to commit, and commit
needs LOCK_open to check for global read lock)
2005-03-16 08:40:19 +01:00
igor@rurik.mysql.com
ce6c390c39
olap.result, olap.test:
...
Added a test case for bug #8616 .
item.h:
Fixed bug #8616 .
Added class Item_null_result used in rollup processing.
sql_select.h, sql_select.cc:
Fixed bug #8616 .
Added JOIN::rollup_write_data to cover rollup queries
with DISTINCT. Modified other rollup methods.
2005-03-15 22:50:54 -08:00
patg@krsna.
b60a20ce73
WL #2094 Federated Storage Handler.
...
Edits to ha_federated.cc per Monty, cleanup
2005-03-15 18:41:06 -08:00
dlenev@brandersnatch.localdomain
f169114042
WL#874 "Extended LOAD DATA".
...
Now one can use user variables as target for data loaded from file
(besides table's columns). Also LOAD DATA got new SET-clause in which
one can specify values for table columns as expressions.
For example the following is possible:
LOAD DATA INFILE 'words.dat' INTO TABLE t1 (a, @b) SET c = @b + 1;
This patch also implements new way of replicating LOAD DATA.
Now we do it similarly to other queries.
We store LOAD DATA query in new Execute_load_query event
(which is last in the sequence of events representing LOAD DATA).
When we are executing this event we simply rewrite part of query which
holds name of file (we use name of temporary file) and then execute it
as usual query. In the beggining of this sequence we use Begin_load_query
event which is almost identical to Append_file event
2005-03-16 04:32:47 +03:00
acurtis@pcgem.rdg.cyberkinetica.com
1a64fe066d
Bug#8670
...
Rework to resolve ambigious grammer: conflict in join expression
handling of parentheses for nested joins and derived tables.
Tests included of failing statements
Optimize item construction for AND/OR logical expressions
2005-03-16 00:13:23 +00:00
monty@mysql.com
1a9e05dd3f
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-03-16 01:30:28 +02:00
monty@mysql.com
fde941e5b4
Partly reverty back patch (in heap-auto-increment-key detection) to ensure that auto_key and auto_key_type are calculated the same way
2005-03-16 01:15:45 +02:00
heikki@hundin.mysql.fi
edf59e5480
Many files:
...
InnoDB true VARCHAR
2005-03-16 00:34:15 +02:00
reggie@mdk10.(none)
3bfcc5dd75
Merge mdk10.(none):/home/reggie/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/mysql-5.0
2005-03-15 16:28:47 -06:00
reggie@mdk10.(none)
6c00af77a0
Bug #6660 mysqldump creates bad pathnames on Windows
...
sql_show.cc:
changed strdup to thd->memdup per Serg's advice
2005-03-15 16:24:37 -06:00
reggie@mdk10.(none)
aa395b3a45
Merge mdk10.(none):/home/reggie/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/mysql-5.0
2005-03-15 11:42:31 -06:00
reggie@mdk10.(none)
ef86c0af65
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mdk10.(none):/home/reggie/bk/mysql-4.1
2005-03-15 11:37:14 -06:00
reggie@mdk10.(none)
887f2a53fe
Bug #6660 mysqldump creates bad pathnames on Windows
...
This is a modifiction of my previous patch after receiving feedback. This is a better way to fix the problem. With this patch, data directory and index directory will use only forward slashes (/) when on Windows.
mysqldump.c:
Removed fixPaths routine. Was improper fix for bug #6660
sql_show.cc:
Changed append_directory to convert backslashes to foward slashes when on Windows.
2005-03-15 11:33:06 -06:00
ramil@mysql.com
3f6fdabe4f
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0
2005-03-15 20:06:37 +04:00
ramil@mysql.com
4ee9cc5a98
after merge fix
2005-03-15 19:43:32 +04:00
ramil@mysql.com
d5e3ba70f3
merging
2005-03-15 19:31:52 +04:00
msvensson@neptunus.(none)
3f8a66cbea
Merged WL#2269 to mysql-5.0
2005-03-15 15:22:40 +01:00
monty@mysql.com
05acaf060c
Merge with global tree
2005-03-15 16:21:08 +02:00
monty@mysql.com
dd4db08438
Code cleanups during review of pushed code
2005-03-15 16:07:28 +02:00
msvensson@neptunus.(none)
2bdd710d3c
WL#2269 Enable query cache for NDB part 2
...
-This is mostly fixes for correct behaviour when using query cache + transactions + the thread that
fetches commit count from NDB at regular intervals. The major fix is to add a
list in thd_ndb, that keeps a list of NDB_SHARE's that were modified by
transaction and then "clearing" them in ndbcluster_commit.
2005-03-15 15:03:25 +01:00
konstantin@mysql.com
021f8d2170
Cleanup
2005-03-15 16:54:11 +03:00
bar@mysql.com
c6c887b990
# Bug#8785 Problem with nested concats and
...
character set conversion of a string constant.
2005-03-15 17:15:47 +04:00
ramil@mysql.com
04328c3dfa
A fix (bug #8799 : Killed filesorts can fail inited==RND assertion in ha_rnd_end).
2005-03-15 15:32:11 +04:00
ramil@mysql.com
ec775b65f5
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/ram/work/4.1.b8799
2005-03-15 14:13:44 +04:00
ramil@mysql.com
46613bafbe
A fix (bug #8489 : Strange auto_increment behaviour with HEAP table).
2005-03-15 13:32:12 +04:00
patg@krsna.
d0603db72a
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into krsna.:/home/patg/test/mysql-5.0
2005-03-15 00:36:38 -08:00
patg@krsna.
24bc862456
This changeset contains changes approved in code review by
...
Konstja and Georg, change sets 1.1806, 1.1805. These changes has been successfully
tested on both my own workstation (Suse 9.0) and production.mysql.com.
2005-03-15 00:32:21 -08:00
sergefp@mysql.com
62465a98e2
Merge mysql.com:/home/psergey/mysql-4.1-bug8510
...
into mysql.com:/home/psergey/mysql-5.0-bug8510
2005-03-15 09:29:54 +03:00
sergefp@mysql.com
e7e2a8c8eb
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/psergey/mysql-4.1-bug8510
2005-03-15 04:09:41 +03:00
konstantin@mysql.com
6a2ef5577c
WL#926 "AVG(DISTINCT) and other distincts", part 2 (out of 3): clean up
...
Item_sum_count_distinct, and
deploy Unique for use with COUNT(DISTINCT) if there is no blob
column in the list of DISTINCT arguments.
2005-03-15 03:46:19 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
98e83555a5
Merge 4.1 - 5.0
2005-03-15 01:14:59 +02:00
serg@serg.mylan
57adc4d740
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-14 20:45:10 +01:00
serg@serg.mylan
f04bef8faf
merged
2005-03-14 18:46:30 +01:00
serg@serg.mylan
3613f8c262
sql/log.cc
...
don't set LOG_EVENT_BINLOG_IN_USE_F for relay logs
sql/sql_repl.cc
clear LOG_EVENT_BINLOG_IN_USE_F flag before sending an event to a slave
2005-03-14 17:53:24 +01:00
gluh@gluh.mysql.r18.ru
354a93842f
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
2005-03-14 19:47:46 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
9ec8d87328
Updated error message to be more informative. Previous error message
...
"Access denied to database mysql" was actually not just misleading, but
also wrong.
Bug#7905.
2005-03-14 16:59:09 +02:00
mskold@mysql.com
f2db341abe
Removed unnecessary current_thd
2005-03-14 15:53:44 +01:00
gluh@gluh.mysql.r18.ru
ee434e5cc9
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
2005-03-14 17:27:10 +03:00
mskold@mysql.com
7092c7dec2
WL#2353 EXPLAIN support for condition pushdown
2005-03-14 15:26:10 +01:00
serg@serg.mylan
dba1e0889a
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-14 14:47:51 +01:00
msvensson@neptunus.(none)
a7ad7784c3
Manual merge
2005-03-14 12:25:26 +01:00
msvensson@neptunus.(none)
13ec961c3a
BUG#6554 Problem Building MySql on Fedora Core 3
...
- Moved static variables defined inside of function to file scope to avoid this linking problem on FC3
2005-03-14 12:07:49 +01:00
serg@serg.mylan
ada959edf8
anotehr fix for Item_func_isnotnull::not_null_tables()
2005-03-14 11:04:42 +01:00
serg@serg.mylan
a6b3b8fa98
print more information
2005-03-14 09:27:34 +01:00
marty@linux.site
20ca32862a
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into linux.site:/home/marty/MySQL/mysql-5.0
2005-03-14 09:21:15 +01:00
serg@serg.mylan
9248f0d714
Item_func_isnotnull::not_null_tables - return 0 if not top-level item
2005-03-13 23:56:25 +01:00
serg@serg.mylan
8986ffebde
print xa recovery progress
...
add names to handlertons
trans_need_2pc() macro
2005-03-13 21:58:09 +01:00
konstantin@mysql.com
22915b3ad5
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/media/sda1/mysql/mysql-5.0-926
2005-03-13 23:53:30 +03:00
konstantin@mysql.com
983c75f05e
WL#926 "SUM(DISTINCT) and AVG(DISTINCT)": improvement of SUM(DISTINCT) and
...
implementation of AVG(DISTINCT) which utilizes the approach with Fields.
The patch implemented in October is portede to the up-to-date tree
containing DECIMAL type.
Tests for AVG(DISTINCT) (although there is not much to test provided
that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT()
will follow in another changeset.
2005-03-13 23:50:43 +03:00
serg@serg.mylan
18343b9454
correct not_null_tables() for XOR and AND
...
correct top_level_item for XOR
2005-03-13 16:34:40 +01:00
heikki@hundin.mysql.fi
a95f09e228
set_var.cc, mysqld.cc, ha_innodb.cc, sql_class.h:
...
Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
trx0trx.h, trx0undo.c, trx0trx.c, trx0roll.c:
Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
2005-03-13 12:49:39 +02:00
igor@rurik.mysql.com
7d8b91060d
Manual merge
2005-03-13 00:40:55 -08:00
igor@rurik.mysql.com
a90d2bd97c
join_outer.result, join_outer.test:
...
Added a test case for bug #9017 .
item_cmpfunc.h:
A wrong not_null_tables method for Item_cond_xor
caused a conversion of a left join into an inner join
that was not valid.
2005-03-12 23:31:52 -08:00
serg@serg.mylan
0c31836fa5
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-12 20:17:16 +01:00
serg@serg.mylan
32700d1430
if no xa recovery (or after it):
...
warning on startup if prepared foreign xids
error on startup if prepared our xids
temporarily: always rollback prepared our xids instead of an error
2005-03-12 20:09:54 +01:00
jimw@mysql.com
c56a00ec98
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-03-11 12:47:29 -08:00
jimw@mysql.com
441f863f52
Merge mysql.com:/home/jimw/my/mysql-5.0-8902
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-03-11 12:46:11 -08:00
jimw@mysql.com
eaea82d3af
Merge query_cache tests
2005-03-11 12:38:38 -08:00
serg@serg.mylan
a85613f62c
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-11 21:37:52 +01:00
serg@serg.mylan
7b19170cf7
BUG#9101 - RELEASE/ROLLBACK TO SAVEPOINT did not forget savepoints correctly
2005-03-11 21:10:41 +01:00
jimw@mysql.com
50f9fc3368
Merge test and results
2005-03-11 11:07:32 -08:00
ramil@mysql.com
31a1510ff0
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0.b9029
2005-03-11 14:01:24 +04:00
ramil@mysql.com
ec41753240
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0.b9029
2005-03-11 12:30:55 +04:00
ramil@mysql.com
bf5794622d
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0
2005-03-11 12:29:12 +04:00
sergefp@mysql.com
f9322a85a4
Merge mysql.com:/home/psergey/mysql-4.1-bug8711
...
into mysql.com:/home/psergey/mysql-5.0-bug8711
2005-03-11 02:26:38 +03:00
sergefp@mysql.com
763039a17b
Merge
2005-03-11 02:23:16 +03:00
sergefp@mysql.com
5d865045c9
Fix for BUG#8711: "<=>" may have true value for NULL arguments, so make
...
Item_func_equal::not_null_tables() always return 0.
2005-03-11 02:17:03 +03:00
acurtis@pcgem.rdg.cyberkinetica.com
759ad1a13e
More portability fixes
2005-03-10 19:42:57 +00:00
timour@mysql.com
74dac23915
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-dbg
2005-03-10 17:00:05 +02:00
dlenev@mysql.com
a66a54edee
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-sp
2005-03-10 16:22:05 +03:00
ramil@mysql.com
ec06f3e762
a fix (bug #9029 Traditional: Wrong SQLSTATE returned for string truncation).
2005-03-10 17:08:45 +04:00
dlenev@brandersnatch.localdomain
3b6aeddc11
Fix for sp.test failure in --ps-protocol mode (2nd attempt).
...
Now we should call open_and_lock_tables() even if table list is empty -
to cache stored routines used by query and open and lock tables required
for their execution.
2005-03-10 16:05:48 +03:00
bell@sanja.is.com.ua
056d5a3934
fixed left expression of IN/ALL/ANY subquery transformation support (BUG#8888)
2005-03-10 14:01:22 +02:00
timour@mysql.com
b9c56257bb
Merge
2005-03-10 13:59:48 +02:00
timour@mysql.com
abf659dee9
Merge mysql.com:/home/timka/mysql/src/4.1-bug-7425
...
into mysql.com:/home/timka/mysql/src/4.1-dbg
2005-03-10 11:50:55 +02:00
msvensson@neptunus.(none)
c94952d1f0
Removed unused variable
2005-03-10 10:43:11 +01:00
tomas@poseidon.ndb.mysql.com
c7925bd3be
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
2005-03-10 09:20:44 +01:00
serg@serg.mylan
e272ab9772
Merge bk-internal:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2005-03-10 08:45:28 +01:00
ramil@mysql.com
f98d1a84cf
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/home/ram/work/5.0
2005-03-10 10:22:35 +04:00
igor@rurik.mysql.com
db4ca33f52
Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2005-03-09 16:53:20 -08:00
serg@serg.mylan
e40bf3c40b
sql/ha_ndbcluster.cc
...
after merge fix
sql/sql_parse.cc
correct max_connections condition
2005-03-10 00:10:10 +01:00
jimw@mysql.com
9fea6f6d1f
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-03-09 14:44:58 -08:00
marty@linux.site
d88b75874b
Fixed broken 4.1->5.0 merge
2005-03-09 23:38:11 +01:00
acurtis@pcgem.rdg.cyberkinetica.com
3b0e983bf0
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug3788.4
2005-03-09 22:10:38 +00:00
acurtis@pcgem.rdg.cyberkinetica.com
dde2a985f2
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug3788.4
2005-03-09 21:59:29 +00:00
acurtis@pcgem.rdg.cyberkinetica.com
1a996a7140
Cleanup for VC++
2005-03-09 21:53:04 +00:00
dlenev@brandersnatch.localdomain
d3f4a597da
Portability fix.
2005-03-10 00:52:47 +03:00
jimw@mysql.com
67c9b3316a
Merge bk-internal:/home/bk/mysql-5.0
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-03-09 13:26:11 -08:00
tomas@poseidon.ndb.mysql.com
3e95113461
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
2005-03-09 21:19:57 +01:00
lars@mysql.com
1422a2b1b1
Fix complilation failure
2005-03-09 20:49:44 +01:00
igor@rurik.mysql.com
af5d21357e
Manual merge
2005-03-09 10:58:52 -08:00