Browse files

Update pdo/ez_sql_pdo.php

Hi Justin,

Thanks! for this useful php mysql class.I did few code modifications to support pdo ssl for mysql databases. after this change it will work on cloud database ssl mode without a problem. I decided to share code with you

1. add $ssl = array() into constructor, connect, quick_connect and select 
2. add fllowing code to line 69
				$this->dbh = new PDO($dsn, $user, $password,$ssl);
				$this->dbh = new PDO($dsn, $user, $password);

3. bug fixes add stdClass() object in line 256,269 to fix warning
4. bug fixes add empty check for native_type in line 258

Best Regards,
Isuru Ratnayake
  • Loading branch information...
ratnayake committed Oct 14, 2012
1 parent 6dad6bb commit bbb9926550fc3ed9ca519873b79b18a22cde84c3
Showing with 232 additions and 217 deletions.
  1. +232 −217 pdo/ez_sql_pdo.php
Oops, something went wrong.

1 comment on commit bbb9926


This comment has been minimized.

Show comment Hide comment

jv2222 Oct 16, 2012

Thanks! I have added your changes.

jv2222 commented on bbb9926 Oct 16, 2012

Thanks! I have added your changes.

Please sign in to comment.