summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <bar@bar.myoffice.izhnet.ru>2007-06-15 11:27:10 +0500
committerunknown <bar@bar.myoffice.izhnet.ru>2007-06-15 11:27:10 +0500
commit1805b34e040e21e2a2ca45bfb96e7f7b1b080287 (patch)
treec11d05480d07ceb0d7aa53c5a05ed0cb84c54cf9 /storage
parentf97b8c9978727515acfe6679b387e15fa28d9345 (diff)
parent39700afdb9d32b6f8db4982e6ab3066db060e9f5 (diff)
downloadmariadb-git-1805b34e040e21e2a2ca45bfb96e7f7b1b080287.tar.gz
Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28862
into mysql.com:/home/bar/mysql-work/mysql-5.1.b28862 mysql-test/r/csv.result: After merge fix mysql-test/t/csv.test: After merge fix storage/csv/ha_tina.cc: After merge fix
Diffstat (limited to 'storage')
-rw-r--r--storage/csv/ha_tina.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc
index 9eead7a059c..6de153c82d7 100644
--- a/storage/csv/ha_tina.cc
+++ b/storage/csv/ha_tina.cc
@@ -444,7 +444,7 @@ ha_tina::ha_tina(handlerton *hton, TABLE_SHARE *table_arg)
records_is_known(0)
{
/* Set our original buffers from pre-allocated memory */
- buffer.set((char*)byte_buffer, IO_SIZE, system_charset_info);
+ buffer.set((char*)byte_buffer, IO_SIZE, &my_charset_bin);
chain= chain_buffer;
file_buff= new Transparent_file();
}
@@ -679,7 +679,7 @@ int ha_tina::find_current_row(uchar *buf)
}
if (bitmap_is_set(table->read_set, (*field)->field_index))
- (*field)->store(buffer.ptr(), buffer.length(), system_charset_info);
+ (*field)->store(buffer.ptr(), buffer.length(), buffer.charset());
}
next_position= end_offset + eoln_len;
error= 0;