home *** CD-ROM | disk | FTP | other *** search
- README for OS/2 - 24/Aug/1999
- Yuri Dario <mc6530@mclink.it>
- http://www.quasarbbs.com/yuri
-
-
- *----------------------------------*
- * mSQL 2.0.11 for OS/2 Warp build 1 *
- *----------------------------------*
-
-
-
- WARNING:
- --------
- This release of mSQL has been compiled with EMX 0.9D, so it doesn't work with
- the previous runtime. You must upgrade to the latest runtime before running
- mSQL.
-
- *-Ware status
- -------------
- I can't ask you money for this port, because this software is (C) Hughes Tech.
- So, starting with this release, I'm asking you a postcard: if you are
- using mSQL for OS/2, please send me a postcard from your city to my address:
-
- Yuri Dario
- Via Madonna, 37
- 31015 Conegliano (TV)
- Italy
-
-
- HOW TO INSTALL:
- ---------------
- Simply run
-
- install.cmd [path]
-
- where path is \public\msql2 if not specified.
-
- You need a HPFS disk to run mSQL.
-
-
- HOW TO TEST:
- ------------
- 1) start msql2d.exe
- 2) cd to your msql-2.0.x\src\tests directory
- 3) run rtest.cmd
- 4) look at rtest.src\*.diff: all diff files MUST have zero length; otherwise
- you have got an error
-
- Errors like 'Couldn't open data file for users' or 'Too many tables', requires
- that you raise the handle limit of EMX runtime. You can do that using
-
- SET EMXOPT=-h256 (or higher)
-
- before running msql2d.exe
-
-
- HOW TO COMPILE:
- ---------------
- To compile mSQL 2.0.x with emx, you need
-
- - EMX 0.9D
- - GNU Make 3.75 (rename to make.exe)
- - GNU Patch 2.5
- - KSH 5.2.7 (rename to sh.exe)
- - GNU Bison
- - cp.exe from GNU File utilities
-
- Steps:
- - untar original Unix distribution;
- - unzip this file inside msql-2.0.x;
- - apply patches to original distribution:
- [\msql-2.0.x]gnupatch --binary -p 0 < patch.os2
- - enter src directory;
- - create lib directory
- - run make;
- - wait to complete all makes;
-
- Configure is not needed, because config.h and site.mm are already included
- in this zip.
-
- Remember to install a Unix like shell in your path; I use ksh.exe renamed to sh.exe, and saved in d:\bin
- (that's because most unix scripts uses SHELL=/bin/sh)
- For links, I use the attached script, that emulates ln and ln -s (shifting first parameter): it works as a normal
- copy (cp.exe).
-
-
- Flags needed under EMX:
- -Zsysv-signals enables signal management as in SystemV, otherwise emx
- convention is used (and it is different from sysv).
- -Zcrtdll link dynamically with EMXLIBCM.DLL;
-
- To add debug info, replace -s at the end of the LINK_ONLY_FLAGS macro
- in src\site.mm with -g, and change -O2 in CFLAGS macro to -g; run make again.
-
-
- BUGS:
- -----
- - needed at least SET EMXOPT=-h256 to run the server; otherwise mSQL returns
- 'too many open files error' when started from WPS
- - something else?
- - mSQL doesn't remove some .tmp files (sort.c): that's because mSQL tries to
- rename an open file; this is allowed under Unix, but not under OS/2. Also
- Unix deletes the file after closing it (and OS/2 don't do it).
- The only drawback is that tmp files didn't get deleted (but mSQL works).
-
-
- WHAT'S NEW IN THIS RELEASE:
- ---------------------------
- 2.0.11 build 1
- - new: lite libraries can be loaded from $DOCUMENT_ROOT.
- - fixed: databases can be dropped also when in use.
- - fixed: table aliases now works, thanks to Maurilio Longo for an
- improved mmap emulator.
-
- 2.0.10 build 1
- - fixed: bug in lite file I/O (from 2.0.9 build 2)
- - fixed: timezone handling, standard mSQL code doesn't take care
- of daylight saving for local time.
-
- 2.0.9 build 1
- - moved to EMX 0.9D
- - changed priority: now mSQL daemon run at server priority.
- - fixed; handling of ctrl-Z in scripts.
-
- 2.0.8 build 1
- - no OS/2 specific patches; only makefiles changes.
-
- 2.0.7 build 1
- - fixed century bug
- Compiling Unix sources is now more easy: all of OS/2 patches
- are included in the standard distribution.
-
- 2.0.6 build 2
- - fixed: handling of OS/2 text files (CRLF) for lite&w3-msql
-
- 2.0.6 build 1
- - added: dynamic loading for lite scripts
- - added: graph.dll for dynamic business graphics (see xyz_corp.lite
- for usage.
-
- 2.0.4.1 build 5
- - bug: fixed money bug on types.c
- - added: msqladmin version now reports build number
-
- 2.0.4.1 build 4
- - bug: fixed money bug on types.c
- - added: msqladmin version now reports build number
- - added msqlUserConnect()
- - added pipe support to lite
- - added profile management
- - new mmap() emulation
- - installation script
- - dropped beta suffix
-
- 2.0.4.1 beta 3
- - added msql.dll
- - added import libraries for EMX and VAC++
-
- 2.0.4.1 beta 2
- - quite stable
- - integrated OS/2 makefiles with Unix's ones.
-
- 2.0.4 alpha
- - msql.dll missing: currently using static linking libraries.
-
- 2.0.3 alpha
- - fixed memory mapping module
-