sql.js icon indicating copy to clipboard operation
sql.js copied to clipboard

writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!

Open kirkouimet opened this issue 8 years ago • 9 comments

I'm getting this warning when using the latest master version of sql.js:

writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!

Any idea on how to resolve?

kirkouimet avatar Mar 24 '18 18:03 kirkouimet

just hit this now myself

moeiscool avatar Mar 28 '18 05:03 moeiscool

I am having this warning too, being thrown when using sql.js in unit tests with jest + typeorm.

iencodev avatar Apr 26 '18 16:04 iencodev

me too ??? helpme

vietnux avatar May 03 '18 10:05 vietnux

My team has also encountered this.

nbyrd avatar May 24 '18 17:05 nbyrd

i think sql.js just doesn't work anymore

moeiscool avatar May 24 '18 17:05 moeiscool

The warning is still there. It works but give this message, it seems that exec function call writeStringToMemory and since it's Emscripten then maybe this came from SQLite code.

jcubic avatar Jan 31 '19 20:01 jcubic

Would love to have this resolved as well.

acrodrig avatar Apr 02 '19 20:04 acrodrig

Same here.

jkoenig134 avatar Apr 23 '19 15:04 jkoenig134

Fixed in #255

Taytay avatar Apr 26 '19 19:04 Taytay