-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
50 lines (36 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
= net-drizzle
ruby binding for libdrizzle.
== EXAMPLE
require 'net/drizzle/drizzle'
dr = Net::Drizzle.new
con1 = dr.con_create
con1.add_options(Net::Drizzle::Connection::Options::MYSQL)
con1.set_db('information_schema')
querys = []
2.times do |c|
10.times do |i|
querys << con1.clone.query_add("SELECT * FROM tables;")
end
dr.query_run_all
querys.each do |q|
p q
if q.error_code != 0
p q.error_code.inspect
end
while row = q.row_next
p row
end
end
end
== Description
ruby binding for libdrizzle.
== Features/Problems
THIS PROJECT IS EARLY DEVELOPMENT. DO NOT USE PRODUCT.
free memorys in drizzle's free. So take care memory leak.
== SEE ALSO
libdrizzle: https://code.launchpad.net/libdrizzle
p5-net-drizzle: https://github.com/tokuhirom/p5-net-drizzle/tree
== Copyright
Author:: Keiji, Yoshimi <walf443 at gmail.com>
Copyright:: Copyright (c) 2008 Keiji, Yoshimi
License:: you can redistribute it and/or modify it under the same terms as Ruby itself.