This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export DEBFULLNAME="Guillaume Plessis" | |
export DEBEMAIL="[email protected]" | |
rm -r build-area pear *.tgz | |
debpear -c pecl -v -t igbinary-1.1.1.tgz -pv 1.1.1 -w http://pecl.php.net/get/igbinary-1.1.1.tgz igbinary | |
dpkg -i build-area/php5-igbinary_1.1.1-1~dotdeb.1_amd64.deb | |
debpear -c pecl -v -t msgpack-0.5.5.tgz -pv 0.5.5 -w http://pecl.php.net/get/msgpack-0.5.5.tgz msgpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table_schema, | |
table_name, | |
data_type, | |
( CASE data_type | |
WHEN 'tinyint' THEN 255 | |
WHEN 'smallint' THEN 65535 | |
WHEN 'mediumint' THEN 16777215 | |
WHEN 'int' THEN 4294967295 | |
WHEN 'bigint' THEN 18446744073709551615 | |
end >> IF(Locate('unsigned', column_type) > 0, 0, 1) ) AS MAX_VALUE, |