Page 1 of 1

$dataProvider = 'native'; or 'mysql'-What is the difference?

Posted: Fri Jan 02, 2015 11:19 am
by cecilchampenois
What is the difference between the two following lines of code?

Code: Select all

class ADODB_mysqli extends ADOConnection {
	var $databaseType = 'mysqli';
	var $dataProvider = 'native';

Code: Select all

class ADODB_mysqli extends ADOConnection {
	var $databaseType = 'mysqli';
	var $dataProvider = 'mysql';

Re: $dataProvider = 'native'; or 'mysql'-What is the differe

Posted: Fri Jan 02, 2015 4:07 pm
by Christopher
My guess is that one is for the default PHP MySQL driver and the other if for the PHP native MySQL driver. Probably a configuration setting so the class knows what features are available.