Skip to content

Commit b9ef4a3

Browse files
authored
Merge pull request #89 from JuliaDB/bmharsha-Readme-patch
Fixes a typo and a bug in the example
2 parents d126b0c + 9721b84 commit b9ef4a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pkg.add("MySQL")
1717
# Examples
1818

1919
The following example connects to a database, creates a table, inserts values,
20-
retrieves the results and diconnects:
20+
retrieves the results and disconnects:
2121

2222
```julia
2323
using MySQL
@@ -33,7 +33,7 @@ command = """CREATE TABLE Employee
3333
mysql_execute(con, command)
3434

3535
# Insert some values
36-
mysql_execute(con, "INSERT INTO Employee (Name, Salary, JoinDate) values ('John', 25000.00, '2015-12-12'), ('Sam', 35000.00, '2012-18-17), ('Tom', 50000.00, '2013-12-14');")
36+
mysql_execute(con, "INSERT INTO Employee (Name, Salary, JoinDate) values ('John', 25000.00, '2015-12-12'), ('Sam', 35000.00, '2012-8-17'), ('Tom', 50000.00, '2013-12-14');")
3737

3838
# Get SELECT results
3939
command = "SELECT * FROM Employee;"

0 commit comments

Comments
 (0)