mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Seems the IN/OUT is not consistently written in uppercase in SHOW CREATE PROCEDURE, probably server version dependent. Anyway, stable now.
This commit is contained in:
@ -174,7 +174,7 @@ begin
|
||||
rx.Expression := '^((IN|OUT|INOUT)\s+)?(\S+)\s+(\S+)$';
|
||||
for i := 0 to Params.Count - 1 do begin
|
||||
if rx.Exec(Trim(Params[i])) then begin
|
||||
Context := rx.Match[2];
|
||||
Context := UpperCase(rx.Match[2]);
|
||||
if Context = '' then
|
||||
Context := 'IN';
|
||||
Parameters.Add(rx.Match[3] + DELIM + rx.Match[4] + DELIM + Context);
|
||||
|
Reference in New Issue
Block a user