Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:35:24 JST 2012
Kouhei Sutou 2011-12-28 17:14:42 +0900 (Wed, 28 Dec 2011) New Revision: 4a7bd37b20345db1d2206d80949a694aef5ae08d https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d Merged ca83269: Merge branch 'master' of github.com:mroonga/mroonga Log: don't change column type for now. it's a work for the next release... Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+6 -6) =================================================================== --- ha_mroonga.cc 2011-12-28 17:12:18 +0900 (98c11a0) +++ ha_mroonga.cc 2011-12-28 17:14:42 +0900 (b6dd455) @@ -940,14 +940,14 @@ static grn_builtin_type mrn_grn_type_from_field(grn_ctx *ctx, Field *field, type = GRN_DB_SHORT_TEXT; // 4Kbytes break; case MYSQL_TYPE_ENUM: // ENUM; <= 2bytes - // type = GRN_DB_INT8; // 1byte - // XXX: Should we use INT16? - type = GRN_DB_INT16; // 2bytes + type = GRN_DB_INT8; // 1byte + // XXX: We should use INT16 + // type = GRN_DB_INT16; // 2bytes break; case MYSQL_TYPE_SET: // SET; <= 8bytes - // type = GRN_DB_INT8; // 1byte - // XXX: Should we use INT64? - type = GRN_DB_INT64; // 8bytes + type = GRN_DB_INT8; // 1byte + // XXX: We should use INT64. + // type = GRN_DB_INT64; // 8bytes break; case MYSQL_TYPE_TINY_BLOB: // TINYBLOB; <= 256bytes + 1byte type = GRN_DB_SHORT_TEXT; // 4Kbytes -------------- next part -------------- HTML����������������������������...Download