Commit graph

2614 commits

Author SHA1 Message Date
Sinisa@sinisa.nasamreza.org
757a5faec2 Fix for sum_func IN (..) 2002-12-02 14:16:02 +02:00
monty@hundin.mysql.fi
fab1fcea8b Fixed bug in MAX() optimization when used with JOIN and ON expressions
(Patch from 4.0.5)
2002-12-02 13:41:08 +02:00
monty@hundin.mysql.fi
f89d91c53c Fixed bug in <=> NULL handling 2002-12-02 10:47:15 +02:00
pem@mysql.com
f9850fdc9c Got rid of the (previously) intentional SELECT/UNION reduce/reduce conflict.
There should be no more reduce/reduce conflicts in sql_yacc.yy from now on!
2002-12-01 17:10:13 +01:00
pem@mysql.com
fb2cd40a99 Merge work.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/pem/work/mysql-4.1
2002-12-01 16:03:42 +01:00
peter@mysql.com
1bf744911f Megrge new changes in... 2002-12-01 11:18:19 +03:00
monty@hundin.mysql.fi
ce56f927fa Merge work:/my/mysql-4.0 into hundin.mysql.fi:/my/mysql-4.0 2002-12-01 00:48:36 +02:00
monty@mashka.mysql.fi
d02d23c4c0 Fixed some bugs from last multi-table-update push.
More tests for multi-table-update & timestamp handling
2002-12-01 00:48:35 +02:00
bell@sanja.is.com.ua
75da3049c3 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-12-01 00:17:33 +02:00
bell@sanja.is.com.ua
c6b48c6f26 fix of error handling 2002-12-01 00:11:22 +02:00
monty@hundin.mysql.fi
f1b806cfd1 Fixed --datadir for embedded server 2002-12-01 00:02:58 +02:00
Sinisa@sinisa.nasamreza.org
ba053ef950 A better fix 2002-11-30 23:13:00 +02:00
Sinisa@sinisa.nasamreza.org
d46dbf535b Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-11-30 22:55:43 +02:00
Sinisa@sinisa.nasamreza.org
1b625220ba A bug fix for ORDER BY on table.column in provisional entire UNION
ORDER clause, where table is one of union'ed tables.
2002-11-30 22:53:50 +02:00
pem@mysql.com
621475a760 Fixed ambiguity between the row value syntax and INTERVAL syntax by making the
ROW keyword mandatory (although it's optional in SQL-99).
2002-11-30 19:33:01 +01:00
peter@mysql.com
a24258375a SCRUM: Montymise code
fix mysql_change_user() for old clients
2002-11-30 20:58:53 +03:00
Sinisa@sinisa.nasamreza.org
a24b780207 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-11-30 19:54:52 +02:00
Sinisa@sinisa.nasamreza.org
25586e477a some bug fixes and tests for those.
I am pushing now, because :

* I have a fix for crashing bug
* Sanja will destroy my changes in sub-select test ... ;)
2002-11-30 19:53:31 +02:00
bell@sanja.is.com.ua
2ccb0eeb4f Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-11-30 19:33:30 +02:00
bell@sanja.is.com.ua
9da705ef2f check of using same table for changing and select 2002-11-30 19:26:18 +02:00
Sinisa@sinisa.nasamreza.org
a968d7c2ea many bug fixes 2002-11-30 18:46:24 +02:00
Sinisa@sinisa.nasamreza.org
8c22407372 a fix for a bug with HAVING sum_func IN (...) 2002-11-30 18:38:44 +02:00
pem@mysql.com
6a8e2a9cbc Pass thd as an argument to yylex(). 2002-11-30 16:43:53 +01:00
peter@mysql.com
54ff0efe7c SCRUM: Secure auth
Implement mysql_change_user
Get rid of double user search at authentication
Some cleanups
2002-11-30 16:31:58 +03:00
serg@serg.mysql.com
82eb69a4a2 removed left-over UPDATE_ACL from REPLACE 2002-11-30 13:03:55 +01:00
peter@mysql.com
08f51eaedd Merging.... 2002-11-29 22:03:14 +03:00
peter@mysql.com
7e6977808f Correct bug which exposed itself in rpl000017
Commit for merge
2002-11-29 21:34:13 +03:00
Sinisa@sinisa.nasamreza.org
02c61db656 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-11-29 19:48:38 +02:00
serg@serg.mysql.com
87fbeb4098 let's leave "INSERT ... SELECT ... UPDATE" for the future 2002-11-29 16:17:52 +01:00
Sinisa@sinisa.nasamreza.org
959b30672e Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-11-29 17:06:26 +02:00
monty@mashka.mysql.fi
bd53a30858 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-11-29 16:41:12 +02:00
monty@mashka.mysql.fi
6603d75213 New multi-table-update code
New (simpler) internal timestamp handling.
More debuging to heap tables.
Small cleanups to multi-table-delete
false -> 0 and true -> 1  (We should use TRUE and FALSE)
2002-11-29 16:40:18 +02:00
serg@serg.mysql.com
fd11c80400 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2002-11-29 14:26:25 +01:00
Sinisa@sinisa.nasamreza.org
5b7a2f56ee many, many changes 2002-11-29 15:22:47 +02:00
serg@serg.mysql.com
c28e99c65a added missing Com_xxx status variables
moved SQLCOM_END to the end of the list
bad copy-paste in sql_yacc.yy fixed
2002-11-29 14:20:25 +01:00
Sinisa@sinisa.nasamreza.org
481bcd5750 many bug fixes 2002-11-29 14:49:07 +02:00
serg@serg.mysql.com
409f7af3cf make multi updates statistics visible in SHOW STATUS as Com_update_multi 2002-11-29 13:17:54 +01:00
serg@serg.mysql.com
fcec08584a s/SQLCOM_MULTI_UPDATE/SQLCOM_UPDATE_MULTI/ to be in line with SQLCOM_DELETE_MULTI 2002-11-29 12:29:27 +01:00
heikki@hundin.mysql.fi
ded9245d98 ha_innodb.cc:
Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
2002-11-29 13:05:37 +02:00
bell@sanja.is.com.ua
39ddd2dcb4 checking columns of top items 2002-11-29 12:30:04 +02:00
bell@sanja.is.com.ua
fa3d6193ac fixed error handling bug
fixed naming bug
fixed bug of subselect excluding
2002-11-29 10:44:30 +02:00
bar@bar.mysql.r18.ru
e1cb867968 Fixesd that wrong charset were used 2002-11-29 11:15:15 +04:00
bell@sanja.is.com.ua
8e8678be9e fixed bug IN subselect with ORDER 2002-11-28 22:59:35 +02:00
bell@sanja.is.com.ua
65e27f604f after review fix(CRUM)
after merge fix
2002-11-28 20:58:23 +02:00
serg@serg.mysql.com
665554d7a2 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-11-28 19:38:22 +01:00
serg@serg.mysql.com
a798185ca1 chroot() need chdir("/") afterwards to work 2002-11-28 19:38:01 +01:00
bell@sanja.is.com.ua
fcb0b8815b merging 2002-11-28 20:12:14 +02:00
bell@sanja.is.com.ua
c1527b6f4c Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-row-4.1
2002-11-28 20:04:09 +02:00
bell@sanja.is.com.ua
ec38595696 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-11-28 20:01:22 +02:00
pem@mysql.com
086bd41700 Added 29 {} at the end of clauses in sql_yacc.yy to make it work with bison 1.75. 2002-11-28 18:57:56 +01:00
bell@sanja.is.com.ua
94b84a7008 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-11-28 19:31:06 +02:00
bell@sanja.is.com.ua
b8b7d0b03b fixed * without tables in IN bug
fixed sunction-test select in IN bug
fixed unions in subselect bug
2002-11-28 19:29:26 +02:00
Sinisa@sinisa.nasamreza.org
8a53d1ca6a adding mandatory aliases for derived tables as per SQL-99
doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
2002-11-28 19:19:21 +02:00
serg@serg.mysql.com
f60e47fdfb INSERT ... UPDATE syntax (syntax only)
sql_yacc.yy and sql_parse.cc cleanup
2002-11-28 17:25:41 +01:00
pem@mysql.com
27dc59e783 Fixed the reduce/reduce conflicts introduced by subselects. 2002-11-28 16:10:29 +01:00
Sinisa@sinisa.nasamreza.org
c2dcead168 Better fix for 64 bit CPU .. 2002-11-28 16:37:58 +02:00
Sinisa@sinisa.nasamreza.org
7838845cf2 Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-11-28 16:27:42 +02:00
ram@mysql.r18.ru
6acfa37935 ::index_read_last() method has been added 2002-11-28 15:19:42 +04:00
bar@bar.mysql.r18.ru
d2e5a5ddd2 More use of new string->number conversion functions 2002-11-28 11:33:04 +04:00
bell@sanja.is.com.ua
eb512dced5 Item_func_equal made uniform 2002-11-28 09:11:35 +02:00
bar@bar.mysql.r18.ru
847ea719b6 New functions 2002-11-28 11:04:26 +04:00
bell@sanja.is.com.ua
ac80cc73ea changed compare engine in basic row items (SCRUM)
fixed layout
2002-11-28 01:00:09 +02:00
bell@sanja.is.com.ua
d7bd717ec8 after-merge fix 2002-11-27 22:35:23 +02:00
bell@sanja.is.com.ua
4be2cfd62d merging 2002-11-27 19:31:11 +02:00
bell@sanja.is.com.ua
5f2016bb20 layout fix 2002-11-27 19:16:06 +02:00
Sinisa@sinisa.nasamreza.org
4198b25569 fix for SHOW VARS for IA64 and other 64 bit systems 2002-11-27 18:05:41 +02:00
bell@sanja.is.com.ua
a3ae370db8 fixed current_thread 2002-11-27 18:03:10 +02:00
bell@sanja.is.com.ua
25687eaecc Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-all_any-4.1
2002-11-27 17:44:01 +02:00
bell@sanja.is.com.ua
17237301b7 typo fixed 2002-11-27 17:42:15 +02:00
ram@mysql.r18.ru
3dbba5a02b support for HA_READ_BEFORE_KEY and HA_READ_PREFIX_LAST_OR_PREV 2002-11-27 19:32:47 +04:00
bell@sanja.is.com.ua
1784d97f7a merging 2002-11-27 17:10:21 +02:00
bell@sanja.is.com.ua
f8ff8fc6de after review changes in IN/ALL/ANY/SOME (SCRUM) 2002-11-27 17:04:43 +02:00
bar@bar.mysql.r18.ru
e198ebc7bf Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1.wrk
2002-11-27 18:24:02 +04:00
bar@bar.mysql.r18.ru
95930f129e new string-to-number functions 2002-11-27 18:08:31 +04:00
miguel@hegel.br
0bf945896c Fix for shutdown on several instances servers started as standalone 2002-11-27 10:05:49 -04:00
bell@sanja.is.com.ua
018a88897d after merging fix 2002-11-27 15:52:32 +02:00
bell@sanja.is.com.ua
02803cf5e9 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-crash-4.1
2002-11-27 14:31:39 +02:00
bell@sanja.is.com.ua
f6d2eb12f6 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-update-4.1
2002-11-27 14:00:09 +02:00
bar@bar.mysql.r18.ru
61141a30ee Preparing to use better string-to-number functions to avoid c_ptr() call,
wich is slower and is not ucs2 compatible
2002-11-27 15:47:39 +04:00
bell@sanja.is.com.ua
79047ef5f6 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-update-4.1
2002-11-27 13:30:45 +02:00
bell@sanja.is.com.ua
aa9bfb44f9 after merging fix 2002-11-27 12:31:32 +02:00
pem@mysql.com
5d292d622c Merge work.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/pem/work/mysql-4.1
2002-11-27 11:23:36 +01:00
bell@sanja.is.com.ua
32df7cacac merging 2002-11-27 11:32:09 +02:00
venu@myvenu.com
70abdf3a51 Merge myvenu.com:/home/venu/bk/src-4.1
into myvenu.com:/home/venu/work/sql/dev-4.1
2002-11-26 18:54:17 -08:00
venu@myvenu.com
e01a6c832d select_test.c, insert_test.c:
Added my_global.h to compile after my_list.h is added to mysql.h
sql_prepare.cc:
  Handle close stmt from client
  Minor fixups to make SET variable=? to work
sql_parse.cc:
  Added missed COM_CLOSE_STMT
mysql_priv.h:
  Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
libmysql.c:
  Clean all open stmts during mysql_close() implicitly
2002-11-26 18:51:38 -08:00
bell@sanja.is.com.ua
aa8af5d6f4 reverse order in global select list allow to avoid recursion in derived tables 2002-11-27 01:12:16 +02:00
bell@sanja.is.com.ua
e419b767ac multi-delete with subselects (SCRUM) 2002-11-26 22:33:33 +02:00
bell@sanja.is.com.ua
6b403114a2 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-update-4.1
2002-11-26 18:17:37 +02:00
Sinisa@sinisa.nasamreza.org
975b37a50b Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2002-11-26 16:51:24 +02:00
Sinisa@sinisa.nasamreza.org
dd556e1439 A fix for a bug with derived tables within subselect
within derived tables within ......
2002-11-26 16:49:55 +02:00
pem@mysql.com
3ef655ac3e Pass thd as an argument to yyparse(), getting rid of all current_thd in the parser. 2002-11-26 14:18:16 +01:00
serg@serg.mysql.com
b385eb4a05 removed redundant -I include-dirs 2002-11-26 14:01:08 +01:00
bell@sanja.is.com.ua
fdb3eaf3d7 subselects in insert/replace (SCRUM) 2002-11-26 01:00:05 +02:00
serg@serg.mysql.com
e8c7830e0f Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2002-11-25 22:22:13 +01:00
serg@serg.mysql.com
5b57077778 myisammrg::index_next_same 2002-11-25 22:18:44 +01:00
bell@sanja.is.com.ua
b8f5fc3a13 subselet in delete (SCRUM) 2002-11-25 21:27:14 +02:00
bell@sanja.is.com.ua
d40bec6829 Merge 2002-11-25 17:53:03 +02:00
monty@mashka.mysql.fi
3d1af24f0f Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2002-11-25 17:34:51 +02:00
monty@mashka.mysql.fi
4cefc97f65 Fixed CAST( xxx as CHAR) 2002-11-25 17:33:51 +02:00
pem@mysql.com
55a3bd911d Merge 2002-11-25 15:32:44 +01:00