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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 19:00:02 2026 UTC