summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-01-11 11:06:26 +0100
committerunknown <msvensson@neptunus.(none)>2006-01-11 11:06:26 +0100
commit17815a33540fe812cc16c506445df957d2cfbf99 (patch)
tree8e1d7ea0bbfafb1300cb74f5c410f5d737ded6c6 /mysql-test
parentdd3c5ddc844e0e0f6fb264c625f3b18580040039 (diff)
downloadmariadb-git-17815a33540fe812cc16c506445df957d2cfbf99.tar.gz
Fix problem with strange printout of line numbers, detected on aix52, but existing on all platforms, just being masked by init of vars to zero.
client/mysqltest.c: Remove lineno_stack, instead use the already existing file_stack and add a new variable lineno to keep track of what line in the file we are at. mysql-test/r/mysqltest.result: Correct test result, "At line 1" should be printed
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/mysqltest.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/mysqltest.result b/mysql-test/r/mysqltest.result
index d0db0269a98..067054510c2 100644
--- a/mysql-test/r/mysqltest.result
+++ b/mysql-test/r/mysqltest.result
@@ -149,7 +149,7 @@ hello
mysqltest: At line 1: End of line junk detected: "6"
mysqltest: At line 1: End of line junk detected: "6"
mysqltest: At line 1: Missing delimiter
-mysqltest: End of line junk detected: "sleep 7
+mysqltest: At line 1: End of line junk detected: "sleep 7
# Another comment
"
mysqltest: At line 1: Extra delimiter ";" found