We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unsigned se špatně detekuje. Blbé pořadí parametrů ve funkci strstr viz forum
unsigned
strstr
Oprava zde: PetrP/dibi@9df5ec9
Zde je test:
/* CREATE TABLE `test4` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `int` int(10) unsigned NOT NULL, `int2` int(10) unsigned zerofill NOT NULL, `int3` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB; */ $connetion = new DibiConnection(array( 'driver' => 'mysql', 'username' => 'root', 'database' => 'test', )); T::note(get_class($connetion->getDriver())); foreach ($connetion->getDriver()->getColumns('test4') as $column) { T::dump($column['unsigned'], $column['name']); } $connetion = new DibiConnection(array( 'driver' => 'mysqli', 'username' => 'root', 'database' => 'test', )); T::note(get_class($connetion->getDriver())); foreach ($connetion->getDriver()->getColumns('test4') as $column) { T::dump($column['unsigned'], $column['name']); } __halt_compiler() ?> ------EXPECT------ DibiMySqlDriver id: bool(TRUE) int: bool(TRUE) int2: bool(TRUE) int3: bool(FALSE) DibiMySqliDriver id: bool(TRUE) int: bool(TRUE) int2: bool(TRUE) int3: bool(FALSE)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
unsigned
se špatně detekuje. Blbé pořadí parametrů ve funkcistrstr
vizforum
Oprava zde: PetrP/dibi@9df5ec9
Zde je test:
The text was updated successfully, but these errors were encountered: