Commit 3b3686b5 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Applying InnoDB snapshot

Detailed revision comments:

r6773 | marko | 2010-03-03 15:31:54 +0200 (Wed, 03 Mar 2010) | 2 lines
branches/zip: row_raw_format(): Silence a GCC 4.4.2 warning
of possibly uninitialized variable format_in_hex.
parent dd454412
...@@ -915,6 +915,10 @@ row_raw_format( ...@@ -915,6 +915,10 @@ row_raw_format(
ret = row_raw_format_int(data, data_len, prtype, ret = row_raw_format_int(data, data_len, prtype,
buf, buf_size, &format_in_hex); buf, buf_size, &format_in_hex);
if (format_in_hex) {
goto format_in_hex;
}
break; break;
case DATA_CHAR: case DATA_CHAR:
case DATA_VARCHAR: case DATA_VARCHAR:
...@@ -923,14 +927,15 @@ row_raw_format( ...@@ -923,14 +927,15 @@ row_raw_format(
ret = row_raw_format_str(data, data_len, prtype, ret = row_raw_format_str(data, data_len, prtype,
buf, buf_size, &format_in_hex); buf, buf_size, &format_in_hex);
break; if (format_in_hex) {
/* XXX support more data types */
default:
format_in_hex = TRUE; goto format_in_hex;
} }
if (format_in_hex) { break;
/* XXX support more data types */
default:
format_in_hex:
if (UNIV_LIKELY(buf_size > 2)) { if (UNIV_LIKELY(buf_size > 2)) {
......
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