Commit 5575b681 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1619

poison use of two MySQL types that are dead. These types are obsolete
in 5.1

git-svn-id: file:///svn/mysql/tokudb-engine/src@10755 c7de825b-a66e-492c-adef-691d508d4ae1
parent 16cd4fe5
...@@ -28,6 +28,16 @@ inline TOKU_TYPE mysql_to_toku_type (enum_field_types mysql_type) { ...@@ -28,6 +28,16 @@ inline TOKU_TYPE mysql_to_toku_type (enum_field_types mysql_type) {
case MYSQL_TYPE_FLOAT: case MYSQL_TYPE_FLOAT:
ret_val = toku_type_float; ret_val = toku_type_float;
break; break;
//
// I believe these are old types that are no longer
// in any 5.1 tables, so tokudb does not need
// to worry about them
// Putting in this assert in case I am wrong.
//
case MYSQL_TYPE_DECIMAL:
case MYSQL_TYPE_VAR_STRING:
assert(false);
break;
default: default:
ret_val = toku_type_unknown; ret_val = toku_type_unknown;
break; break;
......
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