php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1156 Ease of migrating from mSQL to MySQL
Submitted: 1999-02-17 18:13 UTC Modified: 1999-02-27 09:36 UTC
From: david at persimmon dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.6 OS: DEC Unix 4.0D
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at persimmon dot com
New email:
PHP Version: OS:

 

 [1999-02-17 18:13 UTC] david at persimmon dot com
Changing my PHP user authentication program from MySQL to mSQL was easy - a simple perl script:

s/mysql/msql/g;

changed almost every MySQL function into its mSQL counterpart - except for two changes I had to make manually

mysql_field_name --> msql_fieldname
mysql_field_len --> msql_fieldlen

For compatibility, would you consider making "msql_field_name" and "msql_field_len" functions?  (I don't know if those are the only two functions whose mSQL/MySQL names do not follow the same naming convention - they're the only two I found though). 

Just a (low-priority) thought.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-27 09:36 UTC] sas
I just added some aliases for msql_field* functions. Will be distributed with 3.0.7.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC