An error occurred fetching the project authors.
- 07 Apr, 2006 1 commit
-
-
pem@mysql.com authored
Also added comments, and fixing some coding style (mostly in comments too). There are no functional changes, so no tests or documentation needed. (This was originally part of a bugfix, but it was decided to not include this in that patch; instead it's done separately.)
-
- 25 Feb, 2006 1 commit
-
-
monty@mysql.com authored
- Added empty constructors and virtual destructors to many classes and structs - Removed some usage of the offsetof() macro to instead use C++ class pointers
-
- 07 Dec, 2005 1 commit
-
-
anozdrin@mysql.com authored
according to the standard. The idea is to use Field-classes to implement stored routines variables. Also, we should provide facade to Item-hierarchy by Item_field class (it is necessary, since SRVs take part in expressions). The patch fixes the following bugs: - BUG#8702: Stored Procedures: No Error/Warning shown for inappropriate data type matching; - BUG#8768: Functions: For any unsigned data type, -ve values can be passed and returned; - BUG#8769: Functions: For Int datatypes, out of range values can be passed and returned; - BUG#9078: STORED PROCDURE: Decimal digits are not displayed when we use DECIMAL datatype; - BUG#9572: Stored procedures: variable type declarations ignored; - BUG#12903: upper function does not work inside a function; - BUG#13705: parameters to stored procedures are not verified; - BUG#13808: ENUM type stored procedure parameter accepts non-enumerated data; - BUG#13909: Varchar Stored Procedure Parameter always BINARY string (ignores CHARACTER SET); - BUG#14161: Stored procedure cannot retrieve bigint unsigned; - BUG#14188: BINARY variables have no 0x00 padding; - BUG#15148: Stored procedure variables accept non-scalar values;
-
- 22 Nov, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
if inner routine has more local variables than outer one, and one of its last variables was used as argument to NOT operator". THD::spcont was non-0 when we were parsing stored routine/trigger definition during execution of another stored routine. This confused methods of Item_splocal and forced them use wrong runtime context. Fix ensures that we always have THD::spcont equal to zero during routine/trigger body parsing. This also allows to avoid problems with errors which occur during parsing and SQL exception handlers.
-
- 17 Oct, 2005 1 commit
-
-
pem@mysql.com authored
Make sure "select" aborts when finding a SP condition handler beyond the current scope.
-
- 26 Sep, 2005 2 commits
-
-
pem@mysql.com authored
Search the chain of sp_rcontexts recursively for handlers. If one is found, it will be detected in the sp_head::execute() method at the corresponding level.
-
pem@mysql.com authored
Replaced the dumb in-handler/not-in-handler check with a proper recursion check of handlers being executed. (Re-commit in a different tree, to make push possible.)
-
- 21 Sep, 2005 1 commit
-
-
konstantin@mysql.com authored
cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server Crash while fetching from table with 5 million records." A fix for a possible memory leak when fetching into an SP cursor in a long loop. The patch uses a common implementation of cursors in the binary protocol and in stored procedures and implements materialized cursors. For implementation details, see comments in sql_cursor.cc
-
- 25 Aug, 2005 1 commit
-
-
sergefp@mysql.com authored
"Interleaved SPs execution is now binlogged properly, "SELECT spfunc()" is binlogged too. The known remaining issue is binlogging/replication of "a routine is deleted while it is executed" scenario.
-
- 18 Aug, 2005 1 commit
-
-
petr@mysql.com authored
and Bug#12297 SP crashes the server if data inserted inside a lon loop Third commit attempt. With fixes to the issues, showed up after full rebuild and tests on other hosts.
-
- 30 Jun, 2005 1 commit
-
-
pem@mysql.comhem.se authored
Make sure to cleanup the items for a cursor query after each open, otherwise it's done too late, after the run-time mem_root is freed.
-
- 14 Jun, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 10 Jun, 2005 1 commit
-
-
pem@mysql.comhem.se authored
Fixed valgrind complaints. This fixes the memory leak problems for procedured, and partially for functions. There's still a leak involving results from functions that turned out to be too involved, so it will be fixed separately.
-
- 27 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
-
- 23 May, 2005 1 commit
-
-
pem@mysql.comhem.se authored
Memory leak in locally evalutated expressions during SP execution fixed by reusing allocated item slots when possible. Note: No test case added, since the test is a stress test that tries to make the machine to run out of memory. Second attempt, now tested with debug build, valgrind build, max (optimized) build, with and without --debug, --vagrind and --ps-protocol. Errors in trigger and view test with --debug in debug build where present before this patch, and likewise for valgrind warnings for view test in valgrind build with --ps-protocol.
-
- 08 May, 2005 1 commit
-
-
bell@book.sanja.is.com.ua authored
Item::fix_field need correct pointer on item reference to chnge it if itis need, so support of correct item address added to SP commands (BUG#5963) some optimisation of IF/NOT IF ptomised to Pem
-
- 14 Apr, 2005 1 commit
-
-
pem@mysql.comhem.se authored
overwrites IN variable and added error checking of variables for [IN]OUT parameters while rewriting the out parameter handling.
-
- 04 Mar, 2005 1 commit
-
-
dlenev@brandersnatch.localdomain authored
and some SP-related cleanups. - We don't have separate stage for calculation of list of tables to be prelocked and doing implicit LOCK/UNLOCK any more. Instead we calculate this list at open_tables() and do implicit LOCK in lock_tables() (and UNLOCK in close_thread_tables()). Also now we support cases when same table (with same alias) is used several times in the same query in SP. - Cleaned up execution of SP. Moved all common code which handles LEX and does preparations before statement execution or complex expression evaluation to auxilary sp_lex_keeper class. Now all statements in SP (and corresponding instructions) that evaluate expression which can contain subquery have their own LEX.
-
- 23 Oct, 2004 1 commit
-
-
pem@mysql.comhem.se authored
-
- 28 Sep, 2004 1 commit
-
-
monty@mishka.local authored
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field. Added checking of date/datetime fields. If strict mode, give error if we have not given value to field without a default value (for INSERT)
-
- 10 Sep, 2004 1 commit
-
-
pem@mysql.comhem.se authored
Dropping the table was not the real problem, the problem was with errors occuring within error handlers.
-
- 21 Jul, 2004 1 commit
-
-
pem@mysql.comhem.se authored
We now get an run-time error instead of a crash (although a slightly misleading error message, but it's an improvement).
-
- 09 Jan, 2004 1 commit
-
-
pem@mysql.comhem.se authored
(And some minor correction of cursor open)
-
- 08 Jan, 2004 1 commit
-
-
pem@mysql.comhem.se authored
Initialize and test properly when cleaning up, to avoid crash in some error cases.
-
- 21 Dec, 2003 1 commit
-
-
monty@mysql.com authored
(Fixed project files, compiler warnings etc..)
-
- 27 Nov, 2003 1 commit
-
-
pem@mysql.comhem.se authored
and BUG#1966: "select 1 into a" on top-level hangs client
-
- 14 Oct, 2003 1 commit
-
-
pem@mysql.telia.com authored
Also copy and restore order_list and group_list for selects in SPs.
-
- 10 Oct, 2003 1 commit
-
-
pem@mysql.telia.com authored
(updated) Protocol_cursor class. Also did some bug fixes.
-
- 16 Sep, 2003 1 commit
-
-
pem@mysql.telia.com authored
MySQL error codes as well. (No UNDO HANDLERs yet, and no SIGNAL or RESIGNAL.) WL#850
-
- 26 Feb, 2003 1 commit
-
-
pem@mysql.com authored
various known problems, but good enough for a checkpoint commit.
-
- 08 Dec, 2002 1 commit
-
-
pem@mysql.com authored
Implements creation and dropping of PROCEDUREs, IN, OUT, and INOUT parameters, single-statement procedures, rudimentary multi-statement (begin-end) prodedures (when the client can handle it), and local variables. Missing most of the embedded SQL language, all attributes, FUNCTIONs, error handling, reparses procedures at each call (no caching), etc, etc. Certainly buggy too, but procedures can actually be created and called....
-