What steps will reproduce the problem?
1. add table with tiny int
2. use flexcdc run_consumer.php
3. insert a record with negative unsigned value in a tinyint field
What is the expected output? What do you see instead?
script crash
What version of the product are you using? On what operating system?
flexviews 1.7.1
Please provide any additional information below.
Fix suggest :
In
http://code.google.com/p/flexviews/source/browse/trunk/consumer/include/flexcdc.
php#605
switch(trim($datatype)) {
case 'mediumint':
case 'tinyint':
case 'smallint':
case 'int':
echo1("COL: $col\n"); if($col[0] == "-" && strpos($col, '(')) {
$col = trim(strstr($col,'('), '()');
}
Original issue reported on code.google.com by c.liouke...@gmail.com on 6 Sep 2011 at 2:15
Original issue reported on code.google.com by
c.liouke...@gmail.com
on 6 Sep 2011 at 2:15