Do not use precision and scale. Use sandbox 12348 instead of 12347. Call pt_upgrade_main() instead of tool via cmd line in basics.t.

This commit is contained in:
Daniel Nichter
2012-02-07 12:39:25 -07:00
parent a08afff18b
commit 298385167e
21 changed files with 355 additions and 191 deletions

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time
@@ -42,7 +42,7 @@ select * from t where id is not null
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time
@@ -75,7 +75,7 @@ select id from test.t where id > 3
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
# P=12345,h=127.1,p=...,u=msandbox P=12348,h=127.1,p=...,u=msandbox
# Errors 1 1
# Warnings 1 1
# Query_time
@@ -31,7 +31,7 @@ select borked
# warning counts 0
# warning levels 0
# warnings 0
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
# P=12345,h=127.1,p=...,u=msandbox P=12348,h=127.1,p=...,u=msandbox
# Errors 0 0
# Warnings 0 0
# Query_time
@@ -55,7 +55,7 @@ select * from t where name='jane'
# Errors
# Query ID Host Error
# ================== ================================ ========================
# 3B323396273BC4C7-1 P=12347,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at mk-upgrade line 0, <$fh> line 2.
# 3B323396273BC4C7-1 P=12348,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at mk-upgrade line 0, <$fh> line 2.
# Statistics
# CompareResults_after_execute_skipped 2

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
# P=12345,h=127.1,p=...,u=msandbox P=12348,h=127.1,p=...,u=msandbox
# Errors 1 1
# Warnings 0 0
# Query_time
@@ -31,7 +31,7 @@ select borked
# warning counts 0
# warning levels 0
# warnings 0
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
# P=12345,h=127.1,p=...,u=msandbox P=12348,h=127.1,p=...,u=msandbox
# Errors 0 0
# Warnings 0 0
# Query_time
@@ -55,7 +55,7 @@ select * from t where name='jane'
# Errors
# Query ID Host Error
# ================== ================================ ========================
# 3B323396273BC4C7-1 P=12347,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at ../mk-upgrade line 7059, <$fh> line 2.
# 3B323396273BC4C7-1 P=12348,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at ../mk-upgrade line 7059, <$fh> line 2.
# Statistics
# CompareResults_after_execute_skipped 2

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time

View File

@@ -8,7 +8,7 @@
# warning counts 0
# warning levels 0
# warnings 0
# 127.1:12345 127.1:12347
# 127.1:12345 127.1:12348
# Errors 0 0
# Warnings 0 0
# Query_time