An error occurred fetching the project authors.
- 26 Oct, 2005 1 commit
-
-
pem@mysql.com authored
Added error checking for errors when attempting to use stored procedures after the mysql.proc table has been dropped, corrupted, or tampered with. Test cases were put in a separate file (sp-destruct.test).
-
- 24 Oct, 2005 1 commit
-
-
anozdrin@mysql.com authored
- allow CREATE VIEW as well as DROP VIEW to use in prepared statements; - fix CREATE VIEW implementation to make it work in prepared statements.
-
- 19 Oct, 2005 1 commit
-
-
pem@mysql.com authored
procedure For some functions returning strings (like "replace" and "ifnull" - where val_str() is returning a pointer into one of the parameters) - we ended up with a dangling pointer after the new operator destroyed the reuse item in the eval function. A working, if not very elegant, solution is to simply copy the string in such cases.
-
- 16 Oct, 2005 1 commit
-
-
evgen@moonbone.local authored
Test for bug#12812 moved from sp.test to sp-security.test
-
- 13 Oct, 2005 1 commit
-
-
bar@mysql.com authored
new file mysql_fix_privilege_tables.sql, mysql_create_system_tables.sh: Adding true BINARY/VARBINARY: fixing "password" type, not to be 0x00-padding. Many files: Adding true BINARY/VARBINARY: fixing tests not to output 0x00 bytes. Adding true BINARY/VARBINARY: new pad_char structure member. ctype-bin.c: Adding true BINARY/VARBINARY: new pad_char structure member. New strnxfrm, with two trailing length bytes. field.cc: Adding true BINARY/VARBINARY.
-
- 27 Sep, 2005 1 commit
-
-
pem@mysql.com authored
procedure variable Second version, after review. Keep the unsigned_flag in Item_decimal updated. Note that this also changed the result of several old test results - creating tables from decimal templates now gives unsigned columns and different sizes. (Several tests had Length > Max_length before.)
-
- 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.)
-
- 19 Sep, 2005 1 commit
-
-
evgen@moonbone.local authored
Execution rigths on function was checked just before function execution, thus it was unknown on prepare stage whether user have right to execute particular function. Added access rights checking function which is called right after fixing Item_func_sp. This have additional effect that if user don't have rights for execution query will fail on earlier stage and will not waste resources on optimizing with failing on execution stage.
-
- 14 Sep, 2005 2 commits
-
-
pem@mysql.com authored
-
petr@mysql.com authored
-
- 13 Sep, 2005 4 commits
-
-
petr@mysql.com authored
-
pem@mysql.com authored
get strange result according to Monty's suggestions, fixing the SELECT behaviour on errors with SP handlers. Note that some warnings from SELECT still shows up when the handler has caught - this is an effect of another known bug (BUG#7049).
-
petr@mysql.com authored
-
pem@mysql.com authored
Have to init. all local variables in their frames, not just once at the beginning of invocation.
-
- 08 Sep, 2005 1 commit
-
-
petr@mysql.com authored
(recommit with the right Bug#)
-
- 07 Sep, 2005 1 commit
-
-
sergefp@mysql.com authored
* Allocate thd->user_var_events elements on appropriate mem_root * If several SP statements are binlogged as a single statement, collect all user var accesses they make (grep for StoredRoutinesBinlogging for details)
-
- 01 Sep, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
-
- 27 Aug, 2005 1 commit
-
-
acurtis@xiphis.org authored
"Creating a function with char binary IN parameter fails" Parse BINARY as part of type declaration, not as a column attribute.
-
- 25 Aug, 2005 1 commit
-
-
petr@mysql.com authored
-
- 24 Aug, 2005 1 commit
-
-
petr@mysql.com authored
-
- 19 Aug, 2005 1 commit
-
-
konstantin@mysql.com authored
NOT FOUND ...' in conditional handled incorrectly". Whenever we remove an instruction during optimization, we need to adjust instruction numbers (ip - instruction pointer) stored in all instructions. In addition to that, sp_instr_hpush_jump, which corresponds to DECLARE CONTINUE HANDLER needs adjustment for m_handler, which holds the number of instruction with the continue handler. In the bug report, a wrong ip stored in m_handler was pointing at FETCH, which resulted in an error message and abnormal SP termination. The fix is to just remove m_handler member from sp_instr_hpush_jump, as it's always points to the instruction next to the DECLARE statement itself (m_ip+1).
-
- 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.
-
- 11 Aug, 2005 1 commit
-
-
monty@mysql.com authored
-
- 08 Aug, 2005 1 commit
-
-
dlenev@mysql.com authored
result set". To enable full access to contents of I_S tables from stored functions or statements that use them, we manipulate with thread's open tables state and ensure that we won't cause deadlock when we open tables by ignoring flushes and name-locks. Building of contents of I_S.TABLES no longer requires locking of tables since we use use handler::info() method with HA_STATUS_AUTO flag instead of handler::update_auto_increment() for obtaining information about auto-increment values. But this also means that handlers have to implement support for HA_STATUS_AUTO flag (particularly InnoDB needs it).
-
- 03 Aug, 2005 1 commit
-
-
sergefp@mysql.com authored
* Don't activate prelocking mode for evaluating procedure arguments when it is not necessary. * Code structure simplification and cleanup. * Cleanup in .test files
-
- 31 Jul, 2005 1 commit
-
-
monty@mishka.local authored
Change bool in C code to my_bool Added to mysqltest --enable_parsning and --disable_parsing to avoid to have to comment parts of tests Added comparison of LEX_STRING's and use this to compare file types for view and trigger files.
-
- 30 Jul, 2005 1 commit
-
-
sergefp@mysql.com authored
its body, but lets each statement to get/release its own locks. This allows a broader set of statements to be executed inside PROCEDUREs (but breaks replication) This patch should fix BUG#8072, BUG#8766, BUG#9563, BUG#11126
-
- 29 Jul, 2005 1 commit
-
-
bell@sanja.is.com.ua authored
-
- 22 Jul, 2005 2 commits
-
-
georg@lmy002.wdf.sap.corp authored
-
jimw@mysql.com authored
different on Windows. (Bug #11570)
-
- 16 Jul, 2005 1 commit
-
-
konstantin@mysql.com authored
-
- 15 Jul, 2005 3 commits
-
-
pem@mysql.com authored
-
pem@mysql.com authored
using @@var_name in proc Made sure we don't lose the tokenizer state when swapping lex in during SET parsing.
-
dlenev@mysql.com authored
sub-sequent procedure is called" which was fixed by the same patch as bug #9597 "read lock stays when querying view from stored procedure".
-
- 09 Jul, 2005 1 commit
-
-
dlenev@mysql.com authored
crash if referencing a table" and several other related bugs. Fix for bug #11834 "Re-execution of prepared statement with dropped function crashes server." which was spotted during work on previous bugs. Also couple of nice cleanups: - Replaced two separate hashes for stored routines used by statement with one. - Now instead of doing one pass through all routines used in statement for caching them and then doing another pass for adding their tables to table list, we do only one pass during which do both things.
-
- 06 Jul, 2005 1 commit
-
-
pem@mysql.com authored
We used 'IDENT' for labels as a temporary fix for the parser conflicts introduced if the proper rule 'ident' was used. Now a specially tailored 'label_ident' rule is used for labels instead.
-
- 01 Jul, 2005 2 commits
-
-
pem@mysql.com authored
We want to have the defacto standard syntax for labels ("L:" instead of "label L;"), and fix some known bugs, before we enable this again. The code is left intact (#ifdef'ed SP_GOTO) and the test cases are kept in sp-goto.test, for the future...
-
dlenev@brandersnatch.localdomain authored
"Stored procedures: crash with function calling itself". Disallow recursive stored routines until we either make Item's and LEX reentrant safe or will use spearate sp_head instances (and thus separate LEX objects and Item trees) for each routine invocation.
-
- 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.
-