Commit 7d4ad390 authored by unknown's avatar unknown

Fixed uninitialized variable

Fixed error messages


sql/share/czech/errmsg.txt:
  Fixed error message to us long
sql/share/danish/errmsg.txt:
  Fixed error message to us long
sql/share/dutch/errmsg.txt:
  Fixed error message to us long
sql/share/english/errmsg.txt:
  Fixed error message to us long
sql/share/estonian/errmsg.txt:
  Fixed error message to us long
sql/share/french/errmsg.txt:
  Fixed error message to us long
sql/share/german/errmsg.txt:
  Fixed error message to us long
sql/share/greek/errmsg.txt:
  Fixed error message to us long
sql/share/hungarian/errmsg.txt:
  Fixed error message to us long
sql/share/italian/errmsg.txt:
  Fixed error message to us long
sql/share/japanese/errmsg.txt:
  Fixed error message to us long
sql/share/korean/errmsg.txt:
  Fixed error message to us long
sql/share/norwegian-ny/errmsg.txt:
  Fixed error message to us long
sql/share/norwegian/errmsg.txt:
  Fixed error message to us long
sql/share/polish/errmsg.txt:
  Fixed error message to us long
sql/share/portuguese/errmsg.txt:
  Fixed error message to us long
sql/share/romanian/errmsg.txt:
  Fixed error message to us long
sql/share/russian/errmsg.txt:
  Fixed error message to us long
sql/share/serbian/errmsg.txt:
  Fixed error message to us long
sql/share/slovak/errmsg.txt:
  Fixed error message to us long
sql/share/spanish/errmsg.txt:
  Fixed error message to us long
sql/share/swedish/errmsg.txt:
  Fixed error message to us long
sql/share/ukrainian/errmsg.txt:
  Fixed error message to us long
sql/sql_table.cc:
  Fixed uninitialized variable
parent f0c1dadb
...@@ -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