Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
None
Description
mysqltest only executes the source command on the first iteration of a loop, after that the sourced file is already in the q_lines cache, so there is no need to read it again. Alas, when ignoring source command, we cannot know what file caused the error.
a.test |
let $a=0;
|
while($a) {
|
source $MYSQL_TMP_DIR/b.inc;
|
inc $a;
|
}
|
b.inc |
if ($a) {
|
sleep 1 2;
|
}
|
Attachments
Issue Links
- relates to
-
MDEV-12138 mysqltest: source inside a loop
-
- Open
-
-
MDEV-12130 Improve mysqltest language
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to MDEV-12138 [ MDEV-12138 ] |
Attachment | l [ 43374 ] |
Attachment | l [ 43374 ] |
Attachment | fix [ 43375 ] |
Link | This issue relates to MDEV-12130 [ MDEV-12130 ] |
Fix Version/s | 10.4 [ 22408 ] |
Workflow | MariaDB v3 [ 79764 ] | MariaDB v4 [ 140229 ] |
Fix Version/s | 10.3 [ 22126 ] |