Stephen Morris
9fa65c7819
[2342] Documentation changes as result of review
2012-11-08 12:14:10 +00:00
Stephen Morris
3dc78f0e83
[2342] Abstracted common MySQL binding code into a separate method.
2012-11-06 12:58:10 +00:00
Stephen Morris
1ed8ce0cc0
[2342] Move all SQL statement definitions to head of file
...
It is easier to add a new statement to the head of the file rather
than searching through the file for the method in which the prepared
statements are created.
2012-11-04 20:20:21 +00:00
Stephen Morris
eb211d7cfc
[2342] Add getLease6 selecting by DUID, IAID and Subnet ID
2012-11-04 19:57:05 +00:00
Stephen Morris
0a14e05f42
[2342] Add selection of Lease6 by DUID and IAID
2012-11-03 18:26:57 +00:00
Stephen Morris
4342869430
[2342] Added updateLease6 capability
...
... where the elase is selected by address only.
2012-10-29 19:19:36 +00:00
Stephen Morris
a0f0141e8e
[2342] Address comments in second review.
2012-10-29 13:43:31 +00:00
Stephen Morris
df141d203e
[2342] Corrections based on first part for third section of review.
2012-10-24 21:18:13 +01:00
Stephen Morris
08daa03bea
[2342] Add check that database name cannot be NULL
2012-10-24 19:34:38 +01:00
Stephen Morris
39c82ec533
[2342] Address remaining issues in review comment 6.
2012-10-24 19:18:33 +01:00
Stephen Morris
3e52b2fec4
[2342] Fix problems with time conversion
...
... traced to not initializing a "struct" properly.
2012-10-24 15:36:54 +01:00
Stephen Morris
942be75acd
[2342] Changed Lease6 "client_id" field to "duid"
2012-10-24 14:27:43 +01:00
Stephen Morris
b0ed08d214
[2342] Address review changes (in comment:5 of the ticket)
2012-10-24 14:12:06 +01:00
Stephen Morris
fdbdac116c
[2342] Added deleteLease6 functionality
2012-10-22 16:07:34 +01:00
Stephen Morris
599bfb2239
[2342] INSERT and GET tests now working
...
... after moving creation of MYSQL_BIND structures to a separate class.
2012-10-22 13:01:40 +01:00
Stephen Morris
a64f318cb0
[2342] Move creation of MYSQL_BIND array for lease addition to separate class
2012-10-22 10:49:51 +01:00
Stephen Morris
93ffcbb3ec
[2342] Now have addLease and getLease6 methods apparently working
2012-10-20 22:52:25 +01:00
Stephen Morris
c7cb0c3336
[2342] getVersion() is now working
...
This change adds the code for prepared statement creation and the
template for retrieving information from the database.
2012-10-18 11:33:51 +01:00
Stephen Morris
68953b80a3
[2342] Got the basic "open database" test working.
2012-10-17 18:37:22 +01:00
Stephen Morris
6b45e5c026
[2342] Added MySQL lease manager and null implementation
...
Also includes first unit test, which fails.
2012-10-16 16:39:32 +01:00