Commit 839adcd
committed
Fix abort error when run with driver script when foreign keys are
enabled
https://perconadev.atlassian.net/browse/PSTRESS-152
Problem
=======
The parent table pointer of the foreign key table object became invalid
after the first trial and was not updated properly for the subsequent
trials causing SIGSEGV errors.
Solution
========
The parent table name is also stored in the dll file for each step and
the parent table pointer for tables with foreign keys is set properly
when metadata is loaded from the dll files.1 parent ec40d4e commit 839adcd
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
| 1023 | + | |
1023 | 1024 | | |
1024 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
1025 | 1028 | | |
1026 | 1029 | | |
1027 | 1030 | | |
| |||
3360 | 3363 | | |
3361 | 3364 | | |
3362 | 3365 | | |
| 3366 | + | |
| 3367 | + | |
3363 | 3368 | | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
3364 | 3375 | | |
3365 | 3376 | | |
3366 | 3377 | | |
| |||
0 commit comments