More or less a comment for myself or maybe someone reading this.
I am about to move to another server and I still donĀ“t want to let go from LinksSQL.
It looks like MariaDB works more or less with LinksSQL.
I modified two things in MYSQL:.pm but the rest looks good for now.
+return $self->{sth}->{mariadb_insertid} || $self->{sth}->{insertid};
$connect->{host} ||= 'localhost';
$connect->{port} = undef if $connect->{host} eq 'localhost';#new MariaDB
$self->{driver} = $connect->{driver};
-$dsn = "DBI:$connect->{driver}:";
+$dsn = "DBI:$connect->{driver_to_connect}:";
This was a shortcut avoiding to make a MARIADB.pm file.
Regards
n||i||k||o
I am about to move to another server and I still donĀ“t want to let go from LinksSQL.
It looks like MariaDB works more or less with LinksSQL.
I modified two things in MYSQL:.pm but the rest looks good for now.
Code:
-return $self->{sth}->{mysql_insertid} || $self->{sth}->{insertid}; +return $self->{sth}->{mariadb_insertid} || $self->{sth}->{insertid};
Code:
+$connect->{driver_to_connect} = 'MariaDB'; $connect->{host} ||= 'localhost';
$connect->{port} = undef if $connect->{host} eq 'localhost';#new MariaDB
$self->{driver} = $connect->{driver};
-$dsn = "DBI:$connect->{driver}:";
+$dsn = "DBI:$connect->{driver_to_connect}:";
This was a shortcut avoiding to make a MARIADB.pm file.
Regards
n||i||k||o