Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #643

Closed
Open
Opened Apr 11, 2023 by dong jia@po

预言机调用mysql时,代码有bug

repo: chainmaker-oracle version: v1.0.0_beta 问题:当使用命令行调用mysql时,会返回多条一样的结果 image

我debug了一下,原因是赋值的时候 item[columns[i]] = data , 此时传入的是指针,当下次for循环时,会覆盖之前的内容。

image 可以看到返回的数据是一样的

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#643

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。