Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

Incorrect integer value: '\x01' for column (no replies)

$
0
0
Hi

I'm getting an error when trying to replicate..

Error 'Incorrect integer value: '\x01' for column 'IsPublished' at row 1' on query. Default database: 'mw08'. Query: 'insert into summaries..

IsPublished is a TINYINT(1). For some reason it seems like it's converting it to a string when replicating?

I've done a mysqldump and a restore on the replication server, they have identical schemas and restored without error. When I started the replication, it all works ok except for this table.

Here is an example of the value being inserted in the binary log...



insert into summaries

(PublicId, Text, Content, DateCreated, DateModified,

OwnerId, Language, IsPublished, DatePublished)

values

( NAME_CONST('$publicId',_utf8'dde29b33-b772-4304-aade-e371633dc8ab' COLLATE 'utf8_general_ci'), NAME_CONST('$text',_utf8'Some Title' COLLATE 'utf8_general_ci'), NAME_CONST('$content',_utf8'More Text' COLLATE 'binary'), now()),

coalesce( NAME_CONST('$dateCreated',_binary'2012-05-16 17:16:58' COLLATE 'binary'), now()),

NAME_CONST('$ownerId',31476), NAME_CONST('$language',1), NAME_CONST('$isPublished',_binary'\0' COLLATE 'binary'), NAME_CONST('$datePublished',_binary'2012-05-16' COLLATE 'binary'))

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>