logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

msql2mysql - convert mSQL programs for use with MariaDB

Author

       MariaDB Foundation (http://www.mariadb.org/).

MariaDB 11.4                                    3 September 2024                                   MSQL2MYSQL(1)

Description

       Initially, the MySQL C API was developed to be very similar to that for the mSQL database system. Because
       of this, mSQL programs often can be converted relatively easily for use with MariaDB by changing the
       names of the C API functions.

       The msql2mysql utility performs the conversion of mSQL C API function calls to their MariaDB equivalents.
       msql2mysql converts the input file in place, so make a copy of the original before converting it. For
       example, use msql2mysql like this:

           shell> cpclient-prog.cclient-prog.c.orig
           shell> msql2mysqlclient-prog.c
           client-prog.c converted

       Then examine client-prog.c and make any post-conversion revisions that may be necessary.

       msql2mysql uses the replace utility to make the function name substitutions. See replace(1).

Name

       msql2mysql - convert mSQL programs for use with MariaDB

See Also

       For more information, please refer to the MariaDB Knowledge Base, available online at
       https://mariadb.com/kb/

Synopsis

msql2mysqlC-source-file...

See Also