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

minor regressions in db_mysql and db_mysqli data wrappers #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexKlimenkov
Copy link
Contributor

  1. AlexKlimenkov@0247536 MySQLi wrapper must import MySQL wrapper explicitly since it's no longer included in db_common.php
    how to reproduce the issue:
require_once('./connector-php/codebase/scheduler_connector.php');
require_once ("./connector-php/codebase/db_mysqli.php");

--> Fatal error:Class 'MySQLDBDataWrapper' not found in .../db_mysqli.php on line 8

  1. AlexKlimenkov@cdf333f MySQL wrapper use classes defined in db_common.php but does not import them. It causes the error If db_mysql.php is included before connector. The error didn't happen in previous versions, other wrappers include db_common explicitly.
    how to reproduce:
// include db_mysql.php before connector.php
require_once ('./connector-php-my/codebase/db_mysql.php'); 
require_once('./connector-php-my/codebase/scheduler_connector.php');

--> Fatal error: Class 'DBDataWrapper' not found in .../db_mysql.php

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

Successfully merging this pull request may close these issues.

1 participant