Skip to content
New issue

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

MSSQL reflector - jiná hodnota pro neexistující položku size než v ostatních driverech #74

Closed
Lesster opened this issue Dec 10, 2012 · 0 comments

Comments

@Lesster
Copy link

Lesster commented Dec 10, 2012

Metoda getColumns() v mssql.reflector.php vrací v položce „size“ v případě chybějících dat FALSE, ostatní drivery (mysql.reflector.php a sqlite.reflector) vrací v tomto případě NULL – lze vyřešit nastavením defaultní hodnoty $size na NULL tedy :

  1. $size = false;
    nahradit za:
  2. $size = NULL;

pak bude chování metody stejné jako při použití ostatních driverů.

whipsterCZ added a commit to whipsterCZ/dibi that referenced this issue Dec 11, 2012
@dg dg closed this as completed Dec 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants