Revision
8202
User
Kris
Date
2012-01-19 16:35
== Description: Initially, the MySQL C API was developed to be very similar to that of the mSQL database system. Because of this, mSQL programs often can be converted relatively easily for use with MySQL by changing the names of their C API functions. The ##msql2mysql## utility performs the conversion of mSQL C API function calls to their MySQL equivalents. <<style class="redbox">> **Warning:** ##msql2mysql## converts the input file in place, so make a copy of the original before converting it. <</style>> == Example: <<code>> shell> cp client-prog.c client-prog.c.orig shell> msql2mysql client-prog.c client-prog.c converted <</code>> After conversion, examine ##client-prog.c## and make any necessary post-conversion revisions. ##msql2mysql## uses the ##[[replace-utility|replace]]## utility to make the function name substitutions.