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
Sinisa@sinisa.nasamreza.org
5b7a2f56ee
many, many changes
2002-11-29 15:22:47 +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
hf@genie.(none)
5e8b27c0d3
Pull conflicts resolutions
2002-11-29 12:35:48 +04: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
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
bell@sanja.is.com.ua
1784d97f7a
merging
2002-11-27 17:10:21 +02: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
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
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
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
bell@sanja.is.com.ua
d40bec6829
Merge
2002-11-25 17:53:03 +02:00
peter@mysql.com
925155cf5a
Merge....
2002-11-24 17:26:26 +03:00
peter@mysql.com
35ccfd0b42
SCRUM: Main change for Secure connection handling. Still needs some more coding. Commit
...
done for merge with newer version of code.
2002-11-24 17:07:53 +03:00
bell@sanja.is.com.ua
065f3e572c
lock option in table list
2002-11-23 18:54:15 +02:00
pem@mysql.com
ae2192ed53
Moved safe_to_cache_query from thd to lex.
...
This is required for prepared statements and stored procedures.
2002-11-22 14:50:53 +01:00
monty@mashka.mysql.fi
806294c573
Fixes after merge with 4.0
2002-11-21 22:25:53 +02:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
monty@mashka.mysql.fi
305d16a7cb
Automatic conversion from CHAR(length) to BLOB when length > 255
...
New operators MOD and DIV
SELECT ... FROM DUAL
TRUE = 1 and FALSE = 0
2002-11-21 02:07:14 +02:00
monty@mashka.mysql.fi
1a96948e81
Small improvement to alloc_root
...
Add support for LIMIT # OFFSET #
Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions.
Don't call query_cache_invalidate() twice in some cases
mysql_change_user() now clears states to be equal to close + connect.
Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
Fixed a bug with replicate-do and UPDATE
2002-11-16 20:19:10 +02:00
bell@sanja.is.com.ua
7f4ee30de1
Fixed bugs pointed by "Crash with 'big' derivated table in MySQL-4.1" bugreport
...
- fixed switching from heap to MyISAM table
- fixed error handler
2002-11-16 00:01:48 +02:00
bell@sanja.is.com.ua
979f27ee4a
fixed bug in cyclic reference refinition
2002-11-14 09:43:24 +02:00
bell@sanja.is.com.ua
41d9311621
fixed cyclic reference bug
2002-11-14 00:26:18 +02:00
bell@sanja.is.com.ua
7f514010e5
fixed possible bug
2002-11-13 13:07:58 +02:00
bell@sanja.is.com.ua
d8f1d74fe5
fixed bug of derived table in subselect
...
fixed bug in error handling
2002-11-13 11:59:03 +02:00
Sinisa@sinisa.nasamreza.org
abec0225fc
small fix
2002-11-12 17:41:31 +02:00
bell@sanja.is.com.ua
7e7939ee03
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-12 15:27:11 +02:00
Sinisa@sinisa.nasamreza.org
7bd4fb813a
some code cleanup as per CTO's instructions plus a small bug fix with
...
a corresponding test case....
2002-11-12 14:40:32 +02:00
bell@sanja.is.com.ua
7187fa9ed4
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-12 14:00:38 +02:00
Sinisa@sinisa.nasamreza.org
c6b0d33619
some bug fixes related to derived tables
2002-11-11 17:45:23 +02:00
bell@sanja.is.com.ua
62e4aca91b
fixed select_lex & max_join_size parameters with BIG_TABLES
2002-11-11 17:28:58 +02:00
monty@mashka.mysql.fi
876f3f4d30
Fixed that NULL and 0 returns 0 instead of NULL
...
This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
2002-11-11 15:57:35 +02:00
Sinisa@sinisa.nasamreza.org
89adb79aad
small bug fix
2002-11-11 14:04:50 +02:00
Sinisa@sinisa.nasamreza.org
d96c670c70
Some code optimisations related to EXPLAIN of derived tables and the
...
resulting code cleanup in our main loop.
2002-11-09 15:40:46 +02:00
bell@sanja.is.com.ua
c78ae20589
ALL/ANY/SOME
...
decreasing number of rules in sql_yacc.yy to satisfy bison limitation
fixed subselect Items initializer methods
2002-11-07 23:45:19 +02:00
monty@hundin.mysql.fi
aa4e165808
Portability fix extern "C" static -> extern "C"
2002-11-07 12:49:02 +02:00
monty@butch.
890b39bb68
merge
2002-11-07 12:49:01 +02:00
hf@genie.(none)
25bd1e9a37
Merged by hands
2002-11-07 12:20:08 +04:00
monty@hundin.mysql.fi
db6cbba239
Merge work:/my/mysql-4.0 into hundin.mysql.fi:/my/mysql-4.0
2002-11-07 04:03:44 +02:00
monty@hundin.mysql.fi
65badfff1a
Put temporary files in binlog cache when using BEGIN/COMMIT
...
Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
New variables @@rand_seed1 and @@rand_seed2 (used by replication)
DROP TEMPORARY TABLE
2002-11-07 04:02:37 +02:00
monty@butch.
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00