Pequenas correcoes no ingles.
This commit is contained in:
parent
583786d773
commit
9c5f55af5d
29
index.html
29
index.html
@ -32,8 +32,8 @@ programming language
|
||||
<a href=#installation>installation</a> ·
|
||||
<a href="manual.html">manual</a> ·
|
||||
<a href="license.html">license</a> ·
|
||||
<a href="#hist">history</a> ·
|
||||
<a href="#contact">contact</a>
|
||||
<a href="#credits">credits</a> ·
|
||||
<a href="#contact">contact us</a>
|
||||
</small></center>
|
||||
<p>
|
||||
|
||||
@ -59,8 +59,8 @@ programming language
|
||||
<li> <a href="manual.html#examples">Examples</a>
|
||||
</ul>
|
||||
<li> <a href="license.html">Copyright & License</a>
|
||||
<li> <a href=#hist>History</a>
|
||||
<li> <a href="#contact">Contact</a>
|
||||
<li> <a href="#credits">Credits</a>
|
||||
<li> <a href="#contact">Contact us</a>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
@ -134,10 +134,10 @@ Version 2.0 has some design modifications and implementation improvements
|
||||
LuaSQL is distributed as a set of C source files and a Lua script that
|
||||
loads the dynamic library (if the library is not statically linked to
|
||||
the application).
|
||||
Each driver should be compiled together with luasql.c file (it's so small
|
||||
Each driver should be compiled together with luasql.c file (it is so small
|
||||
that we don't make another library of it) to generate a library.
|
||||
This library should be linked to the application (the initialization
|
||||
function is <tt>luasql_libopen_<i>drivername</i></tt> and it's a Lua
|
||||
function is <tt>luaopen_luasql_<i>drivername</i></tt> and it is a Lua
|
||||
open-library compatible function)
|
||||
or dynamically loaded.
|
||||
In this case, LuaSQL provide a Lua script template that must be
|
||||
@ -148,13 +148,13 @@ The distribution contains a Makefile that has lines to do this job,
|
||||
using <tt>sed</tt>, according to each driver and platform.
|
||||
|
||||
|
||||
<a name=hist>
|
||||
<h2>History</h2>
|
||||
<a name="credits">
|
||||
<h2>Credits</h2>
|
||||
|
||||
<h4>LuaSQL 2.0</h4>
|
||||
<p>
|
||||
Version 2.0 was redesigned by Roberto Ierusalimschy, André Carregal
|
||||
and Tomás Guisasola behind the Kepler Project.
|
||||
and Tomás Guisasola as part of the Kepler Project.
|
||||
The implementation is compatible with Lua 5.0 and was coded by
|
||||
Tomás Guisasola, Eduardo Quintão and Leonardo Godinho.
|
||||
|
||||
@ -171,12 +171,11 @@ LuaSQL development was sponsored by
|
||||
|
||||
|
||||
<a name="contact"></a>
|
||||
<h2>Contact</h2>
|
||||
<h2>Contact us</h2>
|
||||
|
||||
<p>
|
||||
For more information please
|
||||
<a href="mailto:tomas-NO-SPAM-THANKS@keplerproject.org">contact</a>
|
||||
us.
|
||||
<a href="mailto:tomas-NO-SPAM-THANKS@keplerproject.org">contact us</a>.
|
||||
Comments are welcome!
|
||||
</p>
|
||||
|
||||
@ -190,14 +189,14 @@ Comments are welcome!
|
||||
<a href=#installation>installation</a> ·
|
||||
<a href="manual.html">manual</a> ·
|
||||
<a href="license.html">license</a> ·
|
||||
<a href="#hist">history</a> ·
|
||||
<a href="#contact">contact</a>
|
||||
<a href="#credits">credits</a> ·
|
||||
<a href="#contact">contact us</a>
|
||||
</small></center>
|
||||
<p>
|
||||
|
||||
<hr>
|
||||
<small>
|
||||
$Id: index.html,v 1.20 2004/01/12 10:43:26 tomas Exp $
|
||||
$Id: index.html,v 1.21 2004/06/08 13:02:12 tomas Exp $
|
||||
</small>
|
||||
|
||||
</body>
|
||||
|
@ -4,7 +4,7 @@
|
||||
TOTAL_ROWS = 200
|
||||
|
||||
---------------------------------------------------------------------
|
||||
-- checks for a value and throw an error if it's not the expected.
|
||||
-- checks for a value and throw an error if it is invalid.
|
||||
---------------------------------------------------------------------
|
||||
function assert2 (expected, value, msg)
|
||||
if not msg then
|
||||
|
@ -5,7 +5,7 @@ TOTAL_FIELDS = 800
|
||||
TOTAL_ROWS = 40
|
||||
|
||||
---------------------------------------------------------------------
|
||||
-- checks for a value and throw an error if it's not the expected.
|
||||
-- checks for a value and throw an error if it is invalid.
|
||||
---------------------------------------------------------------------
|
||||
function assert2 (expected, value, msg)
|
||||
if not msg then
|
||||
@ -58,7 +58,7 @@ function basic_test ()
|
||||
-- trying to connect with a closed environment.
|
||||
assert2 (false, pcall (ENV.connect, ENV, datasource, username, password),
|
||||
"error connecting with a closed environment")
|
||||
-- it's ok to close a closed object, but nil is returned instead of 1.
|
||||
-- it is ok to close a closed object, but nil is returned instead of 1.
|
||||
assert2 (false, ENV:close())
|
||||
-- Reopen the environment.
|
||||
ENV = ENV_OK (luasql[driver] ())
|
||||
@ -70,7 +70,7 @@ function basic_test ()
|
||||
-- trying to execute a statement with a closed connection.
|
||||
assert2 (false, pcall (conn.execute, conn, "create table x (c char)"),
|
||||
"error connecting with a closed environment")
|
||||
-- it's ok to close a closed object, but nil is returned instead of 1.
|
||||
-- it is ok to close a closed object, but nil is returned instead of 1.
|
||||
assert2 (false, conn:close())
|
||||
-- Check error situation.
|
||||
assert2 (nil, ENV:connect ("unknown-data-base"), "this should be an error")
|
||||
|
Loading…
x
Reference in New Issue
Block a user