Great, thanks, your solution with a "precallback" works also for me. I have 
the package from

http://copr.fedoraproject.org/coprs/nalimilan/julia/ 

which is released Julia Version 0.3.1

Sqlite hands in some cases NULL pointers to the callback, which apparently 
is no good input for bytestring. Therefore I had to do instead

precallback = function printrow(::Ptr{Void}, ncol::Cint, 
rescolp::Ptr{Ptr{Uint8}}, colnmp::Ptr{Ptr{Uint8}})
    for k=1:ncol
        p = unsafe_load(rescolp, k)
        if p!=C_NULL
            print("$(bytestring(p))|");
        end
    end
    println()
    convert(Cint, 0)
end

Reply via email to