Created
May 17, 2011 03:56
-
-
Save anonymous/975923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pmichaud@plum:~/rakudo$ ./perl6 mysqlclient.p6 | |
library_init [currently not working] | |
init | |
get_client_info: 5.1.54 | |
real_connect | |
stat: Uptime: 18118 Threads: 2 Questions: 409 Slow queries: 0 Opens: 271 Flush tables: 1 Open tables: 24 Queries per second avg: 0.22 | |
DROP DATABASE zavolaj | |
CREATE DATABASE zavolaj | |
USE zavolaj | |
CREATE TABLE nom | |
INSERT nom | |
affected rows 3 | |
SELECT *, quantity*price AS amount FROM nom | |
field_count 5 | |
store_result | |
Columns: | |
name | |
description | |
quantity | |
price | |
amount | |
row_count 3 | |
fetch_row, fetch_lengths and fetch_field | |
free_result | |
Null PMC access in type() | |
in <anon> at line 88:NativeCall.pm6 | |
in <anon> at line 111:NativeCall.pm6 | |
in main program body at line 265:mysqlclient.p6 | |
pmichaud@plum:~/rakudo$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment