Commit 7ff0cef3 authored by monty@mysql.com's avatar monty@mysql.com

Fixed uninitialized variable

Fixed error messages
parent f585ccb2
...@@ -313,4 +313,4 @@ character-set=latin2 ...@@ -313,4 +313,4 @@ character-set=latin2
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -307,4 +307,4 @@ character-set=latin1 ...@@ -307,4 +307,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -315,4 +315,4 @@ character-set=latin1 ...@@ -315,4 +315,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=latin1 ...@@ -304,4 +304,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -309,4 +309,4 @@ character-set=latin7 ...@@ -309,4 +309,4 @@ character-set=latin7
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=latin1 ...@@ -304,4 +304,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -316,4 +316,4 @@ character-set=latin1 ...@@ -316,4 +316,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=greek ...@@ -304,4 +304,4 @@ character-set=greek
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=latin2 ...@@ -306,4 +306,4 @@ character-set=latin2
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=latin1 ...@@ -304,4 +304,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=ujis ...@@ -306,4 +306,4 @@ character-set=ujis
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=euckr ...@@ -304,4 +304,4 @@ character-set=euckr
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=latin1 ...@@ -306,4 +306,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=latin1 ...@@ -306,4 +306,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -308,4 +308,4 @@ character-set=latin2 ...@@ -308,4 +308,4 @@ character-set=latin2
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -305,4 +305,4 @@ character-set=latin1 ...@@ -305,4 +305,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -308,4 +308,4 @@ character-set=latin2 ...@@ -308,4 +308,4 @@ character-set=latin2
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=koi8r ...@@ -306,4 +306,4 @@ character-set=koi8r
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -310,4 +310,4 @@ character-set=cp1250 ...@@ -310,4 +310,4 @@ character-set=cp1250
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -312,4 +312,4 @@ character-set=latin2 ...@@ -312,4 +312,4 @@ character-set=latin2
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -306,4 +306,4 @@ character-set=latin1 ...@@ -306,4 +306,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -304,4 +304,4 @@ character-set=latin1 ...@@ -304,4 +304,4 @@ character-set=latin1
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -309,4 +309,4 @@ character-set=koi8u ...@@ -309,4 +309,4 @@ character-set=koi8u
"Unknown or incorrect time zone: '%-.64s'", "Unknown or incorrect time zone: '%-.64s'",
"Invalid TIMESTAMP value in column '%s' at row %ld", "Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'", "Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%d) - truncated" "Result of %s() was larger than max_allowed_packet (%ld) - truncated"
...@@ -3281,7 +3281,7 @@ copy_data_between_tables(TABLE *from,TABLE *to, ...@@ -3281,7 +3281,7 @@ copy_data_between_tables(TABLE *from,TABLE *to,
ha_rows *deleted) ha_rows *deleted)
{ {
int error; int error;
Copy_field *copy,*copy_end, *next_field; Copy_field *copy,*copy_end, *next_field= 0;
ulong found_count,delete_count; ulong found_count,delete_count;
THD *thd= current_thd; THD *thd= current_thd;
uint length; uint length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment